mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-python
synced 2026-01-15 01:52:56 +01:00
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:
parent
285a01dcca
commit
d7db0cac47
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue