use secure cookies
This commit is contained in:
parent
3141e8f588
commit
11fff93c41
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue