mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 11:53:12 +00:00
Modifie le pwd_ntml à la modification de password.
This commit is contained in:
parent
c8240747ef
commit
456fc547aa
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue