mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 15:12:25 +00:00
Merge branch 'fix_ntlm' into 'master'
Modifie le pwd_ntml à la modification de password. See merge request federez/re2o!84
This commit is contained in:
commit
668724e5ff
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