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

Fix syntax

parent cd9fc240
No related branches found
No related tags found
1 merge request!149Support global permission flags by LDAP group
Pipeline #818 failed
......@@ -223,7 +223,7 @@ if _settings.get("ldap.uri", None):
_group_type = _settings.get("ldap.groups.type", "groupOfNames").lower()
if _group_type == "groupofnames":
AUTH_LDAP_GROUP_TYPE = NestedGroupOfNamesType()
elif _group_type == "groupofuniquenames"):
elif _group_type == "groupofuniquenames":
AUTH_LDAP_GROUP_TYPE = NestedGroupOfUniqueNamesType()
elif _group_type == "posixgroup":
AUTH_LDAP_GROUP_TYPE = PosixGroupType()
......
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