mirror of https://github.com/zulip/zulip.git
settings: Set ONLY_SSO to False when not enabled.
(imported from commit fcfe8462aae70dbdff55d245cfd5a6b723cd8378)
This commit is contained in:
parent
be99b4438c
commit
7e64e19cc2
|
@ -716,6 +716,7 @@ if (len(AUTHENTICATION_BACKENDS) == 1 and
|
||||||
ONLY_SSO = True
|
ONLY_SSO = True
|
||||||
else:
|
else:
|
||||||
HOME_NOT_LOGGED_IN = '/login'
|
HOME_NOT_LOGGED_IN = '/login'
|
||||||
|
ONLY_SSO = False
|
||||||
AUTHENTICATION_BACKENDS += ('guardian.backends.ObjectPermissionBackend',)
|
AUTHENTICATION_BACKENDS += ('guardian.backends.ObjectPermissionBackend',)
|
||||||
|
|
||||||
if DEPLOYED:
|
if DEPLOYED:
|
||||||
|
|
Loading…
Reference in New Issue