Skip to content
Snippets Groups Projects
Verified Commit 3d51cdf1 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix mistake in LDAP map defaults

parent a7c52bf0
No related branches found
No related tags found
No related merge requests found
Pipeline #821 failed
......@@ -208,7 +208,7 @@ if _settings.get("ldap.uri", None):
# Mapping of LDAP attributes to Django model fields
AUTH_LDAP_USER_ATTR_MAP = {
"first_name": _settings.get("ldap.map.first_name", "givenName"),
"last_name": _settings.get("ldap.map.first_name", "sn"),
"last_name": _settings.get("ldap.map.last_name", "sn"),
"email": _settings.get("ldap.map.email", "mail"),
}
......
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