This commit is contained in:
IluaAir
2025-07-06 12:20:41 +03:00
parent b6ec15af29
commit 31879ddf30
5 changed files with 76 additions and 7 deletions

View File

@@ -1,11 +1,11 @@
from src.schemas.users import UserCreate
from src.services.base import BaseService
from src.utils.auth_manager import AuthManger
class AuthService(BaseService):
async def registration(self, data: UserCreate):
...
async def registration(self, cred: UserCreate):
hashed_pass = AuthManger.get_password_hash(cred.password)
print(cred.password)
print(hashed_pass)