Skip to content

Commit

Permalink
[MIG] auth_admin_passkey: Migration to 18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
moncefarajdal authored Oct 15, 2024
1 parent 2448b94 commit b9bc030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth_admin_passkey/models/res_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _check_credentials(self, password, env):
if isinstance(password, str):
password = hashlib.sha512(password.encode()).hexdigest()
else:
raise ValueError("Password must be a string")
raise

if password and file_password == password:
if request and hasattr(request, "session"):
Expand Down

0 comments on commit b9bc030

Please sign in to comment.