Skip to content

Commit

Permalink
Add CSRF exemption
Browse files Browse the repository at this point in the history
  • Loading branch information
krestenlaust committed Jan 15, 2025
1 parent bd0fc87 commit 36a9a9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stregsystem/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,7 @@ def get_signup_status(request):
return JsonResponse({'due': 0, 'status': ApprovalModel.APPROVED})


@csrf_exempt
def post_signup(request):
if request.method != "POST":
return HttpResponseBadRequest()
Expand Down

0 comments on commit 36a9a9a

Please sign in to comment.