Enable global CSRF protection
This commit is contained in:
1 parent
82f8b28353
commit
455e90fb27
2 files changed
+2
-3
No files matched your search
@@ -11,8 +11,6 @@ class Netig
|
||||
end
|
||||
|
||||
r.post "send" do
|
||||
check_csrf!
|
||||
|
||||
form = ContactForm.new(r.params)
|
||||
|
||||
if form.spam?
|
||||
|
||||
Reference in new issue
Block a user