diff --git a/scipost/views.py b/scipost/views.py index 8aaa124d1a11af8a744c1be6e0508489925312f7..4d68a43969ac24fa6a5a34e2efe8f970960f24d7 100644 --- a/scipost/views.py +++ b/scipost/views.py @@ -1340,7 +1340,9 @@ def csrf_failure(request, reason=""): 'GET': dict(request.GET), 'POST': post_data, 'META': {k: str(v) for k, v in request.META.items()}, + 'COOKIES': {k: str(v) for k, v in request.COOKIES.items()}, } + raise body = json.dumps(body, indent=4)