diff --git a/server/auth.py b/server/auth.py index e95b081..c32c6f2 100644 --- a/server/auth.py +++ b/server/auth.py @@ -34,7 +34,7 @@ ACCESS_TOKEN_EXPIRE_MINUTES = int(os.getenv("ACCESS_TOKEN_EXPIRE_MINUTES", "60") # Password hashing context -pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto") +pwd_context = CryptContext(schemes=["bcrypt_sha256", "bcrypt"], deprecated="auto") oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/api/login", auto_error=False)