Commit 5930c6d5 authored by Ozzieisaacs's avatar Ozzieisaacs

remove parenthesis in LDAP Message

parent 6b162a4e
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment