added register schema /api/auth/schema.py
parent
0424f1323c
commit
125a13e5d0
|
@ -15,3 +15,12 @@ class Login_reply(BaseModel):
|
||||||
class verify_2FA(BaseModel):
|
class verify_2FA(BaseModel):
|
||||||
auth_code: str
|
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