global csrf

This commit is contained in:
julien committed 2026-10-22 19:33:34 +02:00
1 parent 82f8b28353
commit 42a9218df4
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?