diff --git a/octoprint_auth_ldap/__init__.py b/octoprint_auth_ldap/__init__.py index 92f2fe8..8483379 100644 --- a/octoprint_auth_ldap/__init__.py +++ b/octoprint_auth_ldap/__init__.py @@ -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: