diff --git a/aleksis/core/settings.py b/aleksis/core/settings.py index 0c802eecabb9b3f9bcad36add4b738b9f22f6a0a..491373b2eea64762cf406cf0f66b275b55cbd169 100644 --- a/aleksis/core/settings.py +++ b/aleksis/core/settings.py @@ -186,7 +186,7 @@ AUTHENTICATION_BACKENDS = [] if _settings.get("ldap.uri", None): # LDAP dependencies are not necessarily installed, so import them here import ldap # noqa - from django_auth_ldap.config import LDAPSearch, GroupOfNamesType, GroupOfUniqueNamesType, PosixGroupType # noqa + from django_auth_ldap.config import LDAPSearch, NestedGroupOfNamesType, NestedGroupOfUniqueNamesType, PosixGroupType # noqa # Enable Django's integration to LDAP AUTHENTICATION_BACKENDS.append("django_auth_ldap.backend.LDAPBackend")