Gregniuki commited on
Commit
fcc6ad4
1 Parent(s): 9334ecd

Update auth.py

Browse files
Files changed (1) hide show
  1. auth.py +1 -0
auth.py CHANGED
@@ -41,6 +41,7 @@ class UserCreate(BaseModel):
41
 
42
  from emailx import send_verification_email, generate_verification_token
43
 
 
44
 
45
  def register(user: UserCreate, db: Session):
46
  # Validate email format and check for existing users
 
41
 
42
  from emailx import send_verification_email, generate_verification_token
43
 
44
+ pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
45
 
46
  def register(user: UserCreate, db: Session):
47
  # Validate email format and check for existing users