backends: Add ZulipAuthMixin inheritance to ZulipRemoteUserBackend.

By convention, all our backends inherit form ZulipAuthMixin. This is
helpful to have a single place if we want to add some class attributes
that all the backends should have.
This commit is contained in:
Mateusz Mandera 2024-02-04 03:43:18 +01:00 committed by Tim Abbott
parent bff750e825
commit fdbdf8c620
1 changed files with 1 additions and 1 deletions

View File

@ -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