Register add, refactor

This commit is contained in:
roma-dxunvrs
2025-12-06 18:54:43 +03:00
parent 27466a255f
commit 8065ead813
10 changed files with 151 additions and 100 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
from pydantic import BaseModel
class TokenInfo(BaseModel):
class TokenSchema(BaseModel):
access_token: str
token_type: str
+1 -2
View File
@@ -6,5 +6,4 @@ class UserSchema(BaseModel):
username: str
password: bytes
email: EmailStr | None = None
active: bool = True
# email: EmailStr