mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #15808 -- Added optional HttpOnly flag to the CSRF Cookie.
Thanks Samuel Lavitt for the report and Sascha Peilicke for the patch.
This commit is contained in:
parent
6afc85af47
commit
720888a146
6 changed files with 23 additions and 2 deletions
|
@ -491,6 +491,7 @@ Settings
|
|||
A number of settings can be used to control Django's CSRF behavior:
|
||||
|
||||
* :setting:`CSRF_COOKIE_DOMAIN`
|
||||
* :setting:`CSRF_COOKIE_HTTPONLY`
|
||||
* :setting:`CSRF_COOKIE_NAME`
|
||||
* :setting:`CSRF_COOKIE_PATH`
|
||||
* :setting:`CSRF_COOKIE_SECURE`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue