Force secure cookies

This commit is contained in:
Tanner Collin 2020-02-21 22:46:26 +00:00
parent 1abd866252
commit ed13e203f8

View File

@ -50,6 +50,8 @@ if DEBUG:
]
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
# Application definition