Commit ca61edf2 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 01510219
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
.header-content .header-content
- unless current_controller?('sessions') - unless current_controller?('sessions')
.pull-right .pull-right
= link_to "Sign in", user_omniauth_authorize_path(:cas), class: 'btn btn-sign-in btn-success' = link_to "Sign in", user_omniauth_authorize_path(:cas), method: :post, class: 'btn btn-sign-in btn-success'
%h1.title= title %h1.title= title
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