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.
2 parents a52a554 + 8307560 commit cb02450Copy full SHA for cb02450
configuration/ldap/ldap_config.py
@@ -71,7 +71,7 @@ def _import_group_type(group_type_name):
71
72
# For more granular permissions, we can map LDAP groups to Django groups.
73
AUTH_LDAP_FIND_GROUP_PERMS = environ.get('AUTH_LDAP_FIND_GROUP_PERMS', 'True').lower() == 'true'
74
-AUTH_LDAP_MIRROR_GROUPS = environ.get('AUTH_LDAP_MIRROR_GROUPS', None).lower() == 'true'
+AUTH_LDAP_MIRROR_GROUPS = environ.get('AUTH_LDAP_MIRROR_GROUPS', '').lower() == 'true'
75
76
# Cache groups for one hour to reduce LDAP traffic
77
AUTH_LDAP_CACHE_TIMEOUT = int(environ.get('AUTH_LDAP_CACHE_TIMEOUT', 3600))
0 commit comments