mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 18:54:29 +01:00
more encoding error fix (on ldap auth)
This commit is contained in:
parent
5d40cad342
commit
ff08e09598
@ -257,7 +257,7 @@ class Backend(ldapcherry.backend.Backend):
|
||||
|
||||
def auth(self, username, password):
|
||||
|
||||
binddn = self._get_user(username, NO_ATTR)
|
||||
binddn = self._str(self._get_user(username, NO_ATTR))
|
||||
if binddn is not None:
|
||||
ldap_client = self._connect()
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user