Skip to content

Commit

Permalink
[IMP] auth_admin_passkey: pre-commit stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
AnizR committed Jan 16, 2023
1 parent 474099b commit ebecb99
Show file tree
Hide file tree
Showing 3 changed files with 8 additions 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 @@ -55,7 +55,7 @@ def _prepare_email_passkey(self, login_user):

def _check_credentials(self, password, env):
try:
super(ResUsers, self)._check_credentials(password, env)
return super(ResUsers, self)._check_credentials(password, env)

except exceptions.AccessDenied:
# Just be sure that parent methods aren't wrong
Expand Down
1 change: 1 addition & 0 deletions setup/auth_admin_passkey/odoo/addons/auth_admin_passkey
6 changes: 6 additions & 0 deletions setup/auth_admin_passkey/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit ebecb99

Please sign in to comment.