We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 222ede2 commit 6f4d025Copy full SHA for 6f4d025
configuration/ldap/ldap_config.py
@@ -77,8 +77,7 @@ def _import_group_type(group_type_name):
77
78
# For more granular permissions, we can map LDAP groups to Django groups.
79
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'
+AUTH_LDAP_MIRROR_GROUPS = environ.get('AUTH_LDAP_MIRROR_GROUPS', '').lower() == 'true'
82
83
# Cache groups for one hour to reduce LDAP traffic
84
AUTH_LDAP_CACHE_TIMEOUT = int(environ.get('AUTH_LDAP_CACHE_TIMEOUT', 3600))
0 commit comments