secure csrf cookie
This commit is contained in:
parent
a2987cfbb3
commit
e2bf950023
1 changed files with 2 additions and 0 deletions
|
@ -169,7 +169,9 @@ SESSION_COOKIE_HTTPONLY = True
|
|||
SESSION_COOKIE_SECURE = not DEBUG
|
||||
|
||||
LANGUAGE_COOKIE_NAME = 'c3nav_language'
|
||||
|
||||
CSRF_COOKIE_NAME = 'c3nav_csrftoken'
|
||||
CSRF_COOKIE_SECURE = not DEBUG
|
||||
|
||||
TILE_ACCESS_COOKIE_NAME = 'c3nav_tile_access'
|
||||
TILE_ACCESS_COOKIE_DOMAIN = config.get('c3nav', 'tile_access_cookie_domain', fallback=None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue