Browse Source

passsword mod1

main
Madiwka3 1 year ago
parent
commit
b2aa4eb0b0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/schemas/user.py

+ 1
- 1
app/schemas/user.py View File

@@ -6,7 +6,7 @@ from typing import Optional, List


class UserCreate(BaseModel): class UserCreate(BaseModel):
Email: EmailStr Email: EmailStr
Password: str = Field(..., min_length=7, max_length=20)
Password: str = Field(...)
Name: str = Field(..., min_length=3, max_length=50) Name: str = Field(..., min_length=3, max_length=50)
MiddleName: str = Field(None) MiddleName: str = Field(None)
LastName: str = Field(..., min_length=3, max_length=50) LastName: str = Field(..., min_length=3, max_length=50)


Loading…
Cancel
Save