Commit 668724e5 authored by chirac's avatar chirac

Merge branch 'fix_ntlm' into 'master'

Modifie le pwd_ntml à la modification de password.

See merge request federez/re2o!84
parents c8240747 456fc547
......@@ -632,10 +632,10 @@ class User(FieldPermissionModelMixin, AbstractBaseUser, PermissionsMixin):
)
return
def set_user_password(self, password):
def set_password(self, password):
""" A utiliser de préférence, set le password en hash courrant et
dans la version ntlm"""
self.set_password(password)
super().set_password(password)
self.pwd_ntlm = hashNT(password)
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment