i'm silly
This commit is contained in:
parent
bc46e38420
commit
c29142150a
|
@ -63,11 +63,11 @@ class LDAPUserManager(FilebasedUserManager,
|
|||
#connection.bind_s(dn, password)
|
||||
#connection.unbind_s()
|
||||
|
||||
data = self.check_auth(self, username, password)
|
||||
data = self.check_auth(username, password)
|
||||
self._logger.error("wassup")
|
||||
self._logger.error(str(data))
|
||||
|
||||
for group in self.ldapifyf_groups(self,LDAP_GROUPS):
|
||||
for group in self.ldapify_groups(LDAP_GROUPS):
|
||||
if group in data.get('memberOf', []):
|
||||
user = FilebasedUserManager.findUser(self, username)
|
||||
if not user:
|
||||
|
|
Loading…
Reference in New Issue
Block a user