mirror of https://github.com/zulip/zulip.git
Include defaults for AUTHENTICATION_BACKENDS
(imported from commit cdfffacc45f30e6959085ba8bc5aed72ae3527cf)
This commit is contained in:
parent
78f32dcbd8
commit
2ffd022a5f
|
@ -174,13 +174,15 @@ EMAIL_GATEWAY_BOT = "emailgateway@zulip.com"
|
|||
|
||||
SSO_APPEND_DOMAIN = None
|
||||
|
||||
## WARNING: DO NOT ENABLE DevAuthBackend UNLESS YOU WANT
|
||||
## ANYONE TO BE ABLE TO LOG IN AS ANY USER.
|
||||
# AUTHENTICATION_BACKENDS = ('zproject.backends.DevAuthBackend',)
|
||||
if DEPLOYED:
|
||||
AUTHENTICATION_BACKENDS = ('zproject.backends.EmailAuthBackend',
|
||||
'zproject.backends.GoogleMobileOauth2Backend',
|
||||
'zproject.backends.GoogleBackend')
|
||||
else:
|
||||
## WARNING: ENABLING DevAuthBackend WILL ENABLE
|
||||
## ANYONE TO LOG IN AS ANY USER.
|
||||
AUTHENTICATION_BACKENDS = ('zproject.backends.DevAuthBackend',)
|
||||
|
||||
AUTHENTICATION_BACKENDS = ('zproject.backends.EmailAuthBackend',
|
||||
'zproject.backends.GoogleMobileOauth2Backend',
|
||||
'zproject.backends.GoogleBackend')
|
||||
|
||||
|
||||
DROPBOX_APP_KEY = "xxxxxxxxxxxxxxx"
|
||||
|
|
Loading…
Reference in New Issue