From 7250aaca1cc739bf53de9c3e804dbe6a431b4ef2 Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Tue, 21 Feb 2017 10:07:07 +0000 Subject: [PATCH] Use form_tag so the authenticity token is sent --- app/views/sessions/new.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb index e33dd12..b495ee8 100644 --- a/app/views/sessions/new.html.erb +++ b/app/views/sessions/new.html.erb @@ -5,9 +5,9 @@

Click the button and you're in!


-
+ <%= form_tag method: :post do %> -
+ <% end %>