Fixed password settings so that changed passwords actually work and I can actually change the passwords
This commit is contained in:
@@ -26,6 +26,10 @@ class UserUpdate(BaseModel):
|
||||
account_type: Optional[str] = None
|
||||
photo: Optional[str] = None
|
||||
|
||||
class PasswordChange(BaseModel):
|
||||
old_password: str
|
||||
new_password: str
|
||||
|
||||
class User(UserBase):
|
||||
created_at: datetime
|
||||
class Config:
|
||||
|
||||
Reference in New Issue
Block a user