Commit 2f1026c6 authored by Daniel Gerhardt's avatar Daniel Gerhardt

Adjust 'Sign in' button for GitLab's CSRF protection

GitLab introduced CSRF protection for authentication requests in
571ba5a7. The 'Sign in' button has been
adjusted to send a POST request.
parent 3b242e4b
......@@ -12,7 +12,7 @@
- unless current_controller?('sessions')
.pull-right.hidden-xs
= link_to "Sign in", user_omniauth_authorize_path(:cas), class: 'btn btn-sign-in btn-new append-right-10'
= link_to "Sign in", user_omniauth_authorize_path(:cas), method: :post, class: 'btn btn-sign-in btn-new append-right-10'
.navbar-collapse.collapse
%ul.nav.navbar-nav
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment