added register schema /api/auth/schema.py
parent
0424f1323c
commit
125a13e5d0
|
@ -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
|
Loading…
Reference in New Issue