From c7a74c5d42eebf032570c92b4fdb93a559fe5ae7 Mon Sep 17 00:00:00 2001 From: Cameron Sharp Date: Mon, 11 Nov 2019 23:48:20 +0000 Subject: [PATCH] yup, still hate everything --- octoprint_auth_ldap/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/octoprint_auth_ldap/__init__.py b/octoprint_auth_ldap/__init__.py index 03fddfe..53f1b28 100644 --- a/octoprint_auth_ldap/__init__.py +++ b/octoprint_auth_ldap/__init__.py @@ -97,9 +97,6 @@ class LDAPUserManager(FilebasedUserManager, #Return a fake user instance return User(userid, str(uuid.uuid4()), True, ["user"]) - else: - return None - else : self._logger.debug("Local user found") return local_user