fix: update password handling and constraints
This commit is contained in:
@@ -11,7 +11,7 @@ from datetime import datetime
|
||||
class UserCreate(BaseModel):
|
||||
username: str = Field(..., min_length=3, max_length=50)
|
||||
email: EmailStr
|
||||
password: str = Field(..., min_length=6)
|
||||
password: str = Field(..., min_length=6, max_length=72)
|
||||
|
||||
|
||||
class UserLogin(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user