Commit 7b52fa90 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

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 2dce1a0b
...@@ -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(:cas3), class: 'btn btn-sign-in btn-success' = link_to "Sign in", user_omniauth_authorize_path(:cas3), 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