Skip to content

auth_admin_passkey new API fixes#6

Open
dvdhinesh wants to merge 1 commit intoakretion:8.0-auth_admin_passkey-new-apifrom
sodexis:8.0-auth_admin_passkey-new-api-fixes
Open

auth_admin_passkey new API fixes#6
dvdhinesh wants to merge 1 commit intoakretion:8.0-auth_admin_passkey-new-apifrom
sodexis:8.0-auth_admin_passkey-new-api-fixes

Conversation

@dvdhinesh
Copy link

I am facing an Internal server error when testing this PR on Runbot.

Issue:
When a user login with the same password as admin, it tries to send an email for intimation.

Traceback:

Traceback (most recent call last):
result = dispatch(method, params)
return fn(*params)
return res_users.authenticate(db, login, password, user_agent_env)
self._send_email_same_password(cr, login)
return old_api(self, *args, **kwargs)
TypeError: _send_email_same_password() takes exactly 2 arguments (3 given)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant