Remove debugging code

This commit is contained in:
Christopher C. Wells 2022-02-24 21:12:29 -08:00 committed by Christopher Charbonneau Wells
parent 0dc9f4b219
commit 11d487b740
1 changed files with 0 additions and 2 deletions

View File

@ -35,8 +35,6 @@ def csrf_failure(request, reason=""):
userful information about how to resolve the issue. userful information about how to resolve the issue.
""" """
print(reason == REASON_BAD_ORIGIN % request.META["HTTP_ORIGIN"])
if ( if (
"HTTP_ORIGIN" in request.META "HTTP_ORIGIN" in request.META
and reason == REASON_BAD_ORIGIN % request.META["HTTP_ORIGIN"] and reason == REASON_BAD_ORIGIN % request.META["HTTP_ORIGIN"]