now using hash func from utils.ldap_manager

This commit is contained in:
ahmadbilalkhalid 2019-12-14 14:29:45 +05:00
commit b52f2de8d7
5 changed files with 14 additions and 12 deletions

View file

@ -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: