mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-11-02 12:21:53 +08:00
Revert "Enable Argon2 for password hashing"
This reverts commit 123328c559184e308774e241b3944c1a06e429ba.
This commit is contained in:
@ -3,7 +3,7 @@ from typing import Tuple
|
||||
from passlib import pwd
|
||||
from passlib.context import CryptContext
|
||||
|
||||
pwd_context = CryptContext(schemes=["argon2", "bcrypt"], deprecated="auto")
|
||||
pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
|
||||
|
||||
|
||||
def verify_and_update_password(
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
fastapi >=0.65.2,<0.71.0
|
||||
passlib[argon2,bcrypt] ==1.7.4
|
||||
passlib[bcrypt] ==1.7.4
|
||||
email-validator >=1.1.2,<1.2
|
||||
pyjwt ==2.3.0
|
||||
python-multipart ==0.0.5
|
||||
|
||||
Reference in New Issue
Block a user