Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

backends: Add ZulipAuthMixin inheritance to ZulipRemoteUserBackend.

Mateusz Manderafdbdf8c620cf
diff --git a/zproject/backends.py b/zproject/backends.py
index bd4d575e5f1..00321279d6c 100644
--- a/zproject/backends.py
+++ b/zproject/backends.py
@@ -1546,7 +1546,7 @@ def sync_user_profile_custom_fields(
@external_auth_method
-class ZulipRemoteUserBackend(RemoteUserBackend, ExternalAuthMethod):
+class ZulipRemoteUserBackend(ZulipAuthMixin, RemoteUserBackend, ExternalAuthMethod):
"""Authentication backend that reads the Apache REMOTE_USER variable.
Used primarily in enterprise environments with an SSO solution
that has an Apache REMOTE_USER integration. For manual testing, see