mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-12 12:53:01 +02:00
* update * validate * k * minor cleanup * nit * finalize * k * fix tests * fix tests * fix tests
16 lines
251 B
Python
16 lines
251 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class UserResetRequest(BaseModel):
|
|
user_email: str
|
|
|
|
|
|
class UserResetResponse(BaseModel):
|
|
user_id: str
|
|
new_password: str
|
|
|
|
|
|
class ChangePasswordRequest(BaseModel):
|
|
old_password: str
|
|
new_password: str
|