mirror of https://github.com/zulip/zulip.git
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:
parent
bff750e825
commit
fdbdf8c620
|
@ -1546,7 +1546,7 @@ def sync_user_profile_custom_fields(
|
||||||
|
|
||||||
|
|
||||||
@external_auth_method
|
@external_auth_method
|
||||||
class ZulipRemoteUserBackend(RemoteUserBackend, ExternalAuthMethod):
|
class ZulipRemoteUserBackend(ZulipAuthMixin, RemoteUserBackend, ExternalAuthMethod):
|
||||||
"""Authentication backend that reads the Apache REMOTE_USER variable.
|
"""Authentication backend that reads the Apache REMOTE_USER variable.
|
||||||
Used primarily in enterprise environments with an SSO solution
|
Used primarily in enterprise environments with an SSO solution
|
||||||
that has an Apache REMOTE_USER integration. For manual testing, see
|
that has an Apache REMOTE_USER integration. For manual testing, see
|
||||||
|
|
Loading…
Reference in New Issue