Mark CSRF cookies as secure
This commit is contained in:
parent
648cae81d5
commit
13f5111d7a
1 changed files with 1 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ ADMINS = [
|
|||
|
||||
# Use secure cookies in production
|
||||
SESSION_COOKIE_SECURE = not DEBUG
|
||||
CSRF_COOKIE_SECURE = not DEBUG
|
||||
|
||||
# Application definition
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue