mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #31291 -- Renamed salt to mask for CSRF tokens.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user