i'm silly

This commit is contained in:
cazagen 2019-11-12 00:02:50 +00:00
parent bc46e38420
commit c29142150a

View File

@ -63,11 +63,11 @@ class LDAPUserManager(FilebasedUserManager,
#connection.bind_s(dn, password) #connection.bind_s(dn, password)
#connection.unbind_s() #connection.unbind_s()
data = self.check_auth(self, username, password) data = self.check_auth(username, password)
self._logger.error("wassup") self._logger.error("wassup")
self._logger.error(str(data)) 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', []): if group in data.get('memberOf', []):
user = FilebasedUserManager.findUser(self, username) user = FilebasedUserManager.findUser(self, username)
if not user: if not user: