From 00bc02541d04d7740ebf408b126b82ea8de7c6e4 Mon Sep 17 00:00:00 2001 From: PCoder Date: Tue, 19 Feb 2019 23:40:09 +0100 Subject: [PATCH] Add basic AUTH_LDAP_USER_ATTR_MAP --- dal/settings.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dal/settings.py b/dal/settings.py index db939af..81872b2 100644 --- a/dal/settings.py +++ b/dal/settings.py @@ -132,6 +132,11 @@ DATABASES = { } SECRET_KEY = config('SECRET_KEY') +AUTH_LDAP_USER_ATTR_MAP = { + "first_name": "givenName", + "last_name": "sn", + "email": "mail" +} LOGGING = { 'disable_existing_loggers': False,