settings: Set ONLY_SSO to False when not enabled.

(imported from commit fcfe8462aae70dbdff55d245cfd5a6b723cd8378)
This commit is contained in:
Tim Abbott 2013-11-14 08:15:23 -05:00
parent be99b4438c
commit 7e64e19cc2
1 changed files with 1 additions and 0 deletions

View File

@ -716,6 +716,7 @@ if (len(AUTHENTICATION_BACKENDS) == 1 and
ONLY_SSO = True
else:
HOME_NOT_LOGGED_IN = '/login'
ONLY_SSO = False
AUTHENTICATION_BACKENDS += ('guardian.backends.ObjectPermissionBackend',)
if DEPLOYED: