From 125a13e5d0eea34ceb125c12848c2aa223ba2652 Mon Sep 17 00:00:00 2001 From: Jan Benicek Date: Fri, 8 Nov 2024 06:04:37 +0100 Subject: [PATCH] added register schema /api/auth/schema.py --- src/auth/schemas.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/auth/schemas.py b/src/auth/schemas.py index 1049392..d9cf02f 100644 --- a/src/auth/schemas.py +++ b/src/auth/schemas.py @@ -14,4 +14,13 @@ class Login_reply(BaseModel): class verify_2FA(BaseModel): auth_code: str - \ No newline at end of file + + +class Register(BaseModel): + username: str + first_name: str + last_name: str + email: str + password: str + type_2fa: str + totp_secret: str \ No newline at end of file