Skip to content
Snippets Groups Projects
Commit 84d16ed2 authored by Tim Fechner's avatar Tim Fechner
Browse files

Fix typo

parent 688d9a0c
Branches
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ for setting_name in [k for k in globals().keys() if k.isupper()]: ...@@ -19,7 +19,7 @@ for setting_name in [k for k in globals().keys() if k.isupper()]:
SSO_DISABLED = SSO_DISABLED or getattr(conf.settings, "IDP_IGNORE", False) # legacy config SSO_DISABLED = SSO_DISABLED or getattr(conf.settings, "IDP_IGNORE", False) # legacy config
if not SSO_DISABLED: if not SSO_DISABLED:
assert conf.settings.DEBUG, "Not ignoring IDP on production." assert not conf.settings.DEBUG, "Not ignoring IDP on production."
assert SP_HOST and SP_PORT, "Need SP_HOST and SP_PORT configured in settings." assert SP_HOST and SP_PORT, "Need SP_HOST and SP_PORT configured in settings."
assert not SP_HOST.lower().startswith(("http:", "https:",)), "Need host name without protocol and port." assert not SP_HOST.lower().startswith(("http:", "https:",)), "Need host name without protocol and port."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment