summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJay Cox <jaycox@linear3d.com>2015-04-23 23:24:38 -0700
committerTim Graham <timograham@gmail.com>2015-05-02 19:45:14 -0400
commiteef95ea96faef0b7dbbe0c8092202b74f68a899b (patch)
treefb8888a4aa7328b148f0e2b3c87590639d34c81c /docs
parent0894643e40327e48397573b7844585618200442b (diff)
Fixed #24696 -- Made CSRF_COOKIE computation lazy.
Only compute the CSRF_COOKIE when it is actually used. This is a significant speedup for clients not using cookies. Changed result of the “test_token_node_no_csrf_cookie” test: It gets a valid CSRF token now which seems like the correct behavior. Changed auth_tests.test_views.LoginTest.test_login_csrf_rotate to use get_token() to trigger CSRF cookie inclusion instead of changing request.META["CSRF_COOKIE_USED"] directly.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions