From 576e70521b89955da800f592fbe0fdf8a40defec Mon Sep 17 00:00:00 2001 From: Cameron Sharp Date: Mon, 11 Nov 2019 23:45:10 +0000 Subject: [PATCH] self dot --- octoprint_auth_ldap/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/octoprint_auth_ldap/__init__.py b/octoprint_auth_ldap/__init__.py index b0fbe86..16a730f 100644 --- a/octoprint_auth_ldap/__init__.py +++ b/octoprint_auth_ldap/__init__.py @@ -61,9 +61,9 @@ class LDAPUserManager(FilebasedUserManager, #connection.bind_s(dn, password) #connection.unbind_s() - data = check_auth(self, username, password) - - for group in ldapify_groups(LDAP_GROUPS): + data = self.check_auth(self, username, password) + + for group in self.ldapify_groups(self,LDAP_GROUPS): if group in data.get('memberOf', []): user = FilebasedUserManager.findUser(self, username) if not user: