dev #11
|
|
@ -5,7 +5,7 @@ from datetime import datetime, timedelta, timezone
|
|||
from typing import Any, Mapping
|
||||
|
||||
import jwt
|
||||
from passlib.context import CryptContext
|
||||
from passlib.context import CryptContext # type: ignore
|
||||
|
||||
from app.core.config import settings
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class UserRepository:
|
|||
user = User(
|
||||
email=data.email,
|
||||
hashed_password=hashed_password,
|
||||
full_name=data.full_name,
|
||||
name=data.name,
|
||||
is_active=data.is_active,
|
||||
)
|
||||
self._session.add(user)
|
||||
|
|
|
|||
Loading…
Reference in New Issue