2
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-18 03:25:37 +00:00

remove parenthesis in LDAP Message

This commit is contained in:
Ozzieisaacs 2020-12-03 14:22:37 +01:00
parent 6b162a4e49
commit 5930c6d5fb

View File

@ -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)