use secure cookies

This commit is contained in:
Thomas Steen Rasmussen 2017-06-05 23:22:12 +02:00
parent 3141e8f588
commit 11fff93c41

View file

@ -129,6 +129,9 @@ if DEBUG:
'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.logging.LoggingPanel',
'debug_toolbar.panels.redirects.RedirectsPanel', 'debug_toolbar.panels.redirects.RedirectsPanel',
] ]
else:
SESSION_COOKIE_SECURE=True
CSRF_COOKIE_SECURE=True
LOGGING = { LOGGING = {
'version': 1, 'version': 1,