mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-24 18:47:23 +00:00
remove parenthesis in LDAP Message
This commit is contained in:
parent
6b162a4e49
commit
5930c6d5fb
@ -117,7 +117,7 @@ def bind_user(username, password):
|
||||
return None, error
|
||||
except LDAPException as ex:
|
||||
if ex.message == 'Invalid credentials':
|
||||
error = ("LDAP admin login failed")
|
||||
error = "LDAP admin login failed"
|
||||
return None, error
|
||||
if ex.message == "Can't contact LDAP server":
|
||||
# log.warning('LDAP Server down: %s', ex)
|
||||
|
Loading…
Reference in New Issue
Block a user