Oprava filtru

This commit is contained in:
MaM Web user 2021-09-07 19:30:35 +02:00
parent c0e54c74c9
commit 2995f5fa8b

View file

@ -21,5 +21,7 @@ class StripSensitiveFormDataFilter(Filter):
reverse('reset_password_complete'), reverse('reset_password_complete'),
reverse('change_password'), reverse('change_password'),
]: ]:
record.request.POST=[] if record.request.method == 'POST':
from django.http import QueryDict
record.request.POST=QueryDict('OriginalPostData=HaveBeenRemoved')
return 1 return 1