now using hash func from utils.ldap_manager
This commit is contained in:
parent
2a1932e052
commit
b52f2de8d7
5 changed files with 14 additions and 12 deletions
|
|
@ -13,7 +13,7 @@ class MyLDAPBackend(object):
|
|||
# User does not exists in Database
|
||||
return None
|
||||
else:
|
||||
user.create_ldap_account()
|
||||
user.create_ldap_account(password)
|
||||
if user.check_password(password):
|
||||
return user
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue