ldap.Auth: Fix commit 72d56d9

Commit 72d56d9 (Move type argument into config) swapped the order of
arguments in Auth.load(), but the ctor of ldap.Auth didn't follow the
change, fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-09-18 23:11:22 +02:00
commit d7db0cac47

View file

@ -60,7 +60,7 @@ class Auth(AuthBase): # export
self.__current_user: User|None = None self.__current_user: User|None = None
self.__user_base_dn = conf['user_base_dn'] self.__user_base_dn = conf['user_base_dn']
self.__conn = self.__bind() self.__conn = self.__bind()
self.__dummy = self.load('dummy', conf) self.__dummy = self.load(conf, 'dummy')
def __bind(self): def __bind(self):
return bind(self.conf) return bind(self.conf)