diff --git a/kolibri_instant_schools_plugin/instant_schools_settings.py b/kolibri_instant_schools_plugin/instant_schools_settings.py index eb1ed1d..6667d56 100644 --- a/kolibri_instant_schools_plugin/instant_schools_settings.py +++ b/kolibri_instant_schools_plugin/instant_schools_settings.py @@ -16,9 +16,8 @@ ('pt-br', 'Português'), ] -USE_X_FORWARDED_HOST = True -USE_X_FORWARDED_PORT = True -CSRF_COOKIE_SECURE = True -SESSION_COOKIE_SECURE = True -ALLOW_CERTIFICATE_PUSHING = True - +USE_X_FORWARDED_HOST = (not DEBUG) +USE_X_FORWARDED_PORT = (not DEBUG) +CSRF_COOKIE_SECURE = (not DEBUG) +SESSION_COOKIE_SECURE = (not DEBUG) +ALLOW_CERTIFICATE_PUSHING = (not DEBUG) \ No newline at end of file