Oprava filtru
This commit is contained in:
parent
c0e54c74c9
commit
2995f5fa8b
1 changed files with 3 additions and 1 deletions
|
@ -21,5 +21,7 @@ class StripSensitiveFormDataFilter(Filter):
|
|||
reverse('reset_password_complete'),
|
||||
reverse('change_password'),
|
||||
]:
|
||||
record.request.POST=[]
|
||||
if record.request.method == 'POST':
|
||||
from django.http import QueryDict
|
||||
record.request.POST=QueryDict('OriginalPostData=HaveBeenRemoved')
|
||||
return 1
|
||||
|
|
Loading…
Reference in a new issue