Commit 8a596fca 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 383dc61e
......@@ -9,6 +9,6 @@
- unless current_controller?('sessions')
= link_to "Sign in", user_omniauth_authorize_path(:cas), class: 'btn btn-sign-in btn-success btn-sm'
= link_to "Sign in", user_omniauth_authorize_path(:cas), method: :post, class: 'btn btn-sign-in btn-success btn-sm'
= render 'shared/outdated_browser'
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