mirror of https://github.com/snachodog/mybuddy.git
Remove debugging code
This commit is contained in:
parent
0dc9f4b219
commit
11d487b740
|
@ -35,8 +35,6 @@ def csrf_failure(request, reason=""):
|
|||
userful information about how to resolve the issue.
|
||||
"""
|
||||
|
||||
print(reason == REASON_BAD_ORIGIN % request.META["HTTP_ORIGIN"])
|
||||
|
||||
if (
|
||||
"HTTP_ORIGIN" in request.META
|
||||
and reason == REASON_BAD_ORIGIN % request.META["HTTP_ORIGIN"]
|
||||
|
|
Loading…
Reference in New Issue