summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.contentMenu.xml
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2020-01-10 09:12:18 +0000
committerDenis Ledoux <dle@odoo.com>2020-04-24 11:32:59 +0000
commite050d9150c48a852e37827e0e0afa82233f7ba4f (patch)
tree4495e8f676f767dc3792e7d7bcf3aca3fe4ef113 /addons/website/static/src/xml/website.contentMenu.xml
parent672323037a4e4b63d2c5b579b1b52a2ae0155af3 (diff)
[ADD] auth_ldap: give possibility to users to change their ldap password
- A user using ldap to sign in can now changes his password, providing hid old password. - When the ldap password is changed, empty the possible value for the password set in database so it can no longer be used. - Usually, in all res.users methods auth_ldap replaces, we first try to call `super` before fallbacking to ldap if the call to super fails. e.g. when authenticating, we first check the regular (super) credentials, before fallbacking to ldap if it fails. In this case, we do the opposite on purpose, to give the priority to ldap in case a user changes of password. e.g. a user has the same password in ldap and in database, when he changes, we rather like changing the ldap password and then empty the internal password. closes odoo/odoo#50144 X-original-commit: 8bff93feee0c40dd9ee73ed8217cfdd6abb7de3b Signed-off-by: Olivier Dony (odo) <odo@openerp.com> Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions