Skip to content

Commit 6f4d025

Browse files
committed
backed out ldap_config changes
1 parent 222ede2 commit 6f4d025

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

configuration/ldap/ldap_config.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ def _import_group_type(group_type_name):
7777

7878
# For more granular permissions, we can map LDAP groups to Django groups.
7979
AUTH_LDAP_FIND_GROUP_PERMS = environ.get('AUTH_LDAP_FIND_GROUP_PERMS', 'True').lower() == 'true'
80-
if environ.get('AUTH_LDAP_MIRROR_GROUPS') is not None:
81-
AUTH_LDAP_MIRROR_GROUPS = environ.get('AUTH_LDAP_MIRROR_GROUPS', '').lower() == 'true'
80+
AUTH_LDAP_MIRROR_GROUPS = environ.get('AUTH_LDAP_MIRROR_GROUPS', '').lower() == 'true'
8281

8382
# Cache groups for one hour to reduce LDAP traffic
8483
AUTH_LDAP_CACHE_TIMEOUT = int(environ.get('AUTH_LDAP_CACHE_TIMEOUT', 3600))

0 commit comments

Comments
 (0)