mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 15:12:25 +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
|
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
|
""" A utiliser de préférence, set le password en hash courrant et
|
||||||
dans la version ntlm"""
|
dans la version ntlm"""
|
||||||
self.set_password(password)
|
super().set_password(password)
|
||||||
self.pwd_ntlm = hashNT(password)
|
self.pwd_ntlm = hashNT(password)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue