Closed ap-wtioit closed 2 months ago
/ocabot merge minor
What a great day to merge this nice PR. Let's do it! Prepared branch 15.0-ocabot-merge-pr-644-by-pedrobaeza-bump-minor, awaiting test results.
Congratulations, your PR was merged at 7299e4d68de3054c401838e6f9ce31722ca440bf. Thanks a lot for contributing to OCA. ❤️
Add password_security settings as attributes to password input field for signup_policy.js to be able to pick them up. Also enable signup_policy.js to be loaded on /web/reset_password.
Previously the settings from password_security were not taken into consideration for the password reset form and the error message when hovering over the password strength meter always stated![Screenshot from 2024-05-06 17-29-43](https://github.com/OCA/server-auth/assets/38032588/a4480125-f055-41d9-b010-c977925f80c2)
Required: at least 4 characters
even when the settings where set to 12 characters or something different: Screencast from 2024-05-06 16:07:25.webmIssue tested on runboat with: http://oca-server-auth-15-0-884f003b6318.runboat.odoo-community.org/web/reset_password?db=ba124a0ef-fd32-452f-b362-a2b0ab3b2a88&token=VZEHfqvUItBVyfAGimQu
With this change the settings from password_security are correctly applied to /web/reset_password password strenght meter.
New message is correct:![Screenshot from 2024-05-06 17-25-33](https://github.com/OCA/server-auth/assets/38032588/79b3bfec-4623-4be6-adad-e9185a8e9a61)
Info @wt-io-it