summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"})