mirror of
https://github.com/kakwa/ldapcherry
synced 2025-01-08 20:54:28 +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…
x
Reference in New Issue
Block a user