diff --git a/src/bornhack/settings.py b/src/bornhack/settings.py index 0ea9ffdd..3d397aec 100644 --- a/src/bornhack/settings.py +++ b/src/bornhack/settings.py @@ -129,6 +129,9 @@ if DEBUG: 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel', ] +else: + SESSION_COOKIE_SECURE=True + CSRF_COOKIE_SECURE=True LOGGING = { 'version': 1,