Skip to content
Snippets Groups Projects
Verified Commit cdc54ada authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix imported LDAP group type names

parent 4ce492c5
No related branches found
No related tags found
1 merge request!149Support global permission flags by LDAP group
Pipeline #819 failed
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment