Enable global CSRF protection

This commit is contained in:
julien committed 2026-10-27 09:08:05 +01:00
1 parent 82f8b28353
commit 455e90fb27
2 files changed
+2 -3

No files matched your search

-2
View File
@@ -11,8 +11,6 @@ class Netig
end
r.post "send" do
check_csrf!
form = ContactForm.new(r.params)
if form.spam?