From 34317aa142fc375cb8835a97c7fb6601f56d023a Mon Sep 17 00:00:00 2001 From: "Juan M. Ley" Date: Sun, 26 Apr 2026 16:51:59 -0600 Subject: [PATCH] once more... Co-authored-by: Copilot --- src/infrastructure/api/users/auth_service.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/infrastructure/api/users/auth_service.py b/src/infrastructure/api/users/auth_service.py index 581802c..3546d0e 100644 --- a/src/infrastructure/api/users/auth_service.py +++ b/src/infrastructure/api/users/auth_service.py @@ -4,13 +4,9 @@ from passlib.context import CryptContext from typing import Optional, Dict from core.config import ConfSettings -# Configurar contexto para hashing de contraseñas -# Soporta argon2 (nuevo) y bcrypt (antiguo) para compatibilidad hacia atrás -pwd_context = CryptContext( - schemes=["argon2"], - deprecated=["bcrypt"], - argon2__rounds=3 -) +# Configurar contexto para hashing de contraseñas con argon2 +# argon2 es más moderno y más seguro que bcrypt +pwd_context = CryptContext(schemes=["argon2"]) class AuthService: