Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
ldap: Fix inaccuracy in django_to_ldap_username comment.
Mateusz Manderacf5d544c82c1
diff --git a/zproject/backends.py b/zproject/backends.pyindex e87926e7197..7c018ecd656 100644--- a/zproject/backends.py+++ b/zproject/backends.py@@ -449,7 +449,7 @@ class ZulipLDAPAuthBackendBase(ZulipAuthMixin, LDAPBackend):def django_to_ldap_username(self, username: str) -> str:"""- Translates django username (user_profile.email or whatever the user typed in the login+ Translates django username (user_profile.delivery_email or whatever the user typed in the loginfield when authenticating via the ldap backend) into ldap username.Guarantees that the username it returns actually has an entry in the ldap directory.Raises ZulipLDAPExceptionNoMatchingLDAPUser if that's not possible.