Module
password_security
Describe the bug
When a user clicks on the password reset link received by email and submits the form, the request crashes with:
TypeError: PasswordSecurityHome.do_signup() got an unexpected keyword argument 'validate_email'
This happens because Odoo 17's standard auth_signup module calls do_signup(qcontext, validate_email=False) (see odoo/addons/auth_signup/controllers/main.py), but password_security's override of do_signup does not accept this keyword argument.
Note: this bug is reproducible with password_security alone, no other OCA auth module needs to be installed.
To Reproduce
Affected versions: 17.0
Steps to reproduce the behavior:
- Install
password_security on an Odoo 17 instance
- Trigger a password reset for any user (e.g. via "Send Password Reset Instructions" on the user form)
- Click on the reset link received by email
- Fill in the new password and submit the form
Expected behavior
The password should be reset successfully and the user should be redirected to the login page (or logged in).
Additional context
A PR with the fix will follow.
Module
password_security
Describe the bug
When a user clicks on the password reset link received by email and submits the form, the request crashes with:
This happens because Odoo 17's standard
auth_signupmodule callsdo_signup(qcontext, validate_email=False)(seeodoo/addons/auth_signup/controllers/main.py), butpassword_security's override ofdo_signupdoes not accept this keyword argument.Note: this bug is reproducible with
password_securityalone, no other OCA auth module needs to be installed.To Reproduce
Affected versions: 17.0
Steps to reproduce the behavior:
password_securityon an Odoo 17 instanceExpected behavior
The password should be reset successfully and the user should be redirected to the login page (or logged in).
Additional context
A PR with the fix will follow.