mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-01-28 13:43:13 +00:00
Compare commits
2 commits
17a5ddc232
...
24f081ce9f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
24f081ce9f | ||
|
|
8e8e37fcc1 |
|
|
@ -109,3 +109,6 @@ AUTH_LDAP_USER_ATTR_MAP = {
|
||||||
"last_name": environ.get('AUTH_LDAP_ATTR_LASTNAME', 'sn'),
|
"last_name": environ.get('AUTH_LDAP_ATTR_LASTNAME', 'sn'),
|
||||||
"email": environ.get('AUTH_LDAP_ATTR_MAIL', 'mail')
|
"email": environ.get('AUTH_LDAP_ATTR_MAIL', 'mail')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Update user object with the latest values from the LDAP directory every time the user logs in.
|
||||||
|
AUTH_LDAP_ALWAYS_UPDATE_USER = environ.get('AUTH_LDAP_ALWAYS_UPDATE_USER', 'True').lower() == 'true'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue