fix auth
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user