Force secure cookies
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user