Skip to content

Commit

Permalink
Use form_tag so the authenticity token is sent
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Feb 21, 2017
1 parent f7c9526 commit 7250aac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/sessions/new.html.erb
Expand Up @@ -5,9 +5,9 @@
<br>
<p>Click the button and you're in!</p>
<br>
<form method="POST">
<%= form_tag method: :post do %>
<input type="submit" value="Log in" class="btn btn-primary">
</form>
<% end %>
</div>
</div>
</div>

0 comments on commit 7250aac

Please sign in to comment.