Skip to content
Snippets Groups Projects
Commit 5ccf71fc authored by Houzefa Abbasbhay's avatar Houzefa Abbasbhay :slight_smile:
Browse files

Also clear out the "password_crypt" field when clearing out "password"

parent 6a50ccfa
No related branches found
No related tags found
No related merge requests found
...@@ -264,7 +264,10 @@ ...@@ -264,7 +264,10 @@
if vals and vals.get('saml_uid'): if vals and vals.get('saml_uid'):
if not self._allow_saml_and_password(): if not self._allow_saml_and_password():
vals['password'] = False vals.update({
'password': False,
'password_crypt': False,
})
return super(res_users, self).write(vals) return super(res_users, self).write(vals)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment