Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Import all helpful LDAP types.
Isaac van Bakel20429a182a41
diff --git a/zproject/prod_settings_template.py b/zproject/prod_settings_template.pyindex 3318ffa519b..d88eb5bcdb0 100644--- a/zproject/prod_settings_template.py+++ b/zproject/prod_settings_template.py@@ -167,7 +167,23 @@ AUTHENTICATION_BACKENDS: tuple[str, ...] = (## optionally using LDAP as an authentication mechanism.import ldap-from django_auth_ldap.config import GroupOfNamesType, LDAPGroupQuery, LDAPSearch # noqa: F401+from django_auth_ldap.config import ( # noqa: F401+ ActiveDirectoryGroupType,+ GroupOfNamesType,+ GroupOfUniqueNamesType,+ LDAPGroupQuery,+ LDAPGroupType,+ LDAPSearch,+ LDAPSearchUnion,+ MemberDNGroupType,+ NestedActiveDirectoryGroupType,+ NestedGroupOfNamesType,+ NestedGroupOfUniqueNamesType,+ NestedMemberDNGroupType,+ NestedOrganizationalRoleGroupType,+ OrganizationalRoleGroupType,+ PosixGroupType,+)## Connecting to the LDAP server.##