Skip to content
Snippets Groups Projects
Commit 65731f84 authored by Ivan Procaccini's avatar Ivan Procaccini
Browse files

Feat: Remove doc filtering on authentication

parent e41b654b
No related branches found
No related tags found
No related merge requests found
Pipeline #310739 passed
......@@ -100,11 +100,7 @@ class DocLdapAuthenticator(Authenticator):
MEMBERSHIPS,
),
)
return (
ldap_attributes
if validate_affiliation_to_doc(ldap_attributes)
else None
)
return ldap_attributes
except ldap.INVALID_CREDENTIALS:
return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment