added register schema /api/auth/schema.py

main
Jan Beníček 2024-11-08 06:04:37 +01:00
parent 0424f1323c
commit 125a13e5d0
1 changed files with 10 additions and 1 deletions

View File

@ -14,4 +14,13 @@ class Login_reply(BaseModel):
class verify_2FA(BaseModel):
auth_code: str
class Register(BaseModel):
username: str
first_name: str
last_name: str
email: str
password: str
type_2fa: str
totp_secret: str