summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorartlepool <artlepool@gmail.com>2015-04-09 13:20:04 +0100
committerartlepool <artlepool@gmail.com>2015-04-09 13:20:04 +0100
commit1507f424e0b1f20611e192f77d2bce9d8a597868 (patch)
tree8e9ca6f9e7b50026c00e2d05829200089c4bba59
parentafd42c9f3727960b700d9a26c6bc9866d767c044 (diff)
downloadtaiga-contrib-ldap-auth-1507f424e0b1f20611e192f77d2bce9d8a597868.zip
Removed redundant TODO
-rw-r--r--taiga_contrib_ldap_auth/connector.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/taiga_contrib_ldap_auth/connector.py b/taiga_contrib_ldap_auth/connector.py
index 3481fac..adf2b16 100644
--- a/taiga_contrib_ldap_auth/connector.py
+++ b/taiga_contrib_ldap_auth/connector.py
@@ -66,7 +66,6 @@ def login(username: str, password: str) -> tuple:
user_conn = Connection(server, auto_bind = True, client_strategy = SYNC, user = dn, password = password, authentication = SIMPLE, check_names = True)
- # TODO: fetch email and fullname information from LDAP server
return (user_email, full_name)
raise LDAPLoginError({"error_message": "Username or password incorrect"})