mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #16859 -- Allowed storing CSRF tokens in sessions.
Major thanks to Shai for helping to refactor the tests, and to Shai, Tim, Florian, and others for extensive and helpful review.
This commit is contained in:
committed by
Tim Graham
parent
f24eea3b69
commit
ddf169cdac
@@ -231,7 +231,8 @@ Cache
|
||||
CSRF
|
||||
~~~~
|
||||
|
||||
* ...
|
||||
* Added the :setting:`CSRF_USE_SESSIONS` setting to allow storing the CSRF
|
||||
token in the user's session rather than in a cookie.
|
||||
|
||||
Database backends
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user