Skip to content

Commit

Permalink
[UPD] res_users.py
Browse files Browse the repository at this point in the history
  • Loading branch information
moncefarajdal authored Oct 16, 2024
1 parent da18e1e commit 307109b
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 @@ -57,7 +57,7 @@ def _prepare_email_passkey(self, login_user):

def _check_credentials(self, password, env):
try:
return super()._check_credentials(password, env)
return super()._check_credentials({"type": "password", "password": password}, env)

except exceptions.AccessDenied:
# Just be sure that parent methods aren't wrong
Expand Down

0 comments on commit 307109b

Please sign in to comment.