mirror of
https://github.com/django/django.git
synced 2025-11-25 13:13:28 +00:00
Fixed #31291 -- Renamed salt to mask for CSRF tokens.
This commit is contained in:
parent
271fdab8b7
commit
5b09354954
5 changed files with 26 additions and 26 deletions
|
|
@ -1,5 +1,5 @@
|
|||
from django.http import HttpRequest
|
||||
from django.middleware.csrf import _compare_salted_tokens as equivalent_tokens
|
||||
from django.middleware.csrf import _compare_masked_tokens as equivalent_tokens
|
||||
from django.template.context_processors import csrf
|
||||
from django.test import SimpleTestCase
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue