From c29142150a0f9188cd67895696d36369c3e3554f Mon Sep 17 00:00:00 2001 From: Cameron Sharp Date: Tue, 12 Nov 2019 00:02:50 +0000 Subject: [PATCH] i'm silly --- octoprint_auth_ldap/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: