Fixes redirect on reports modal

This commit is contained in:
Mouse Reeve 2022-01-10 14:58:10 -08:00
parent 78dd5caf9f
commit aee7e1ae41

View file

@ -36,4 +36,4 @@ class Report(View):
domain.status = "pending"
domain.save()
emailing.moderation_report_email(report)
return redirect(request.headers.get("Referer", "/"))
return redirect("/")