Use form_tag so the authenticity token is sent

docker-smtp
Marcin Kulik 8 years ago
parent f7c9526127
commit 7250aaca1c

@ -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>

Loading…
Cancel
Save