-
-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] [11.0] password_security - redirection fails when password_secu… #124
Conversation
…rity and website module installed.
PR #125 is for v12.0 |
@pedrobaeza |
Sorry, but it's out of my scope. |
Thanks for the reply. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect!
/ocabot merge patch |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 51a2677. Thanks a lot for contributing to OCA. ❤️ PS: Don't worry if GitHub says there are unmerged commits: it is due to a rebase before merge. All commits of this PR have been merged into |
This PR fixes the redirection to reset password page when the logging in user's password is expired.
'login_success' param is set in request params when the user successfully logged in. This is introduced in the commit odoo/odoo@a1fac87 to redirect the user to backend or front end based on their access rights.
As we kick out the user when the logging in user's password is expired, we can set the 'login_success' param to False. This will avoid the redirection in the website module controller and will redirect us to password reset page.
This PR fixes #119.