about summary refs log tree commit diff
path: root/app/views/auth/sessions/new.html.haml
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-12-05 22:03:28 +0100
committerGitHub <noreply@github.com>2020-12-05 22:03:28 +0100
commit25f725d67a6d2542cd586ab7c56baca572eb4f88 (patch)
tree4272423a87ddacaf63efc0ee6cd8df4a63e61419 /app/views/auth/sessions/new.html.haml
parent13df125b6c75923ccc21a5c57053e680cea75f38 (diff)
parent40e2de3904c553f3fe4ec30cdbe3ae0e89796291 (diff)
Merge pull request #1470 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/views/auth/sessions/new.html.haml')
-rw-r--r--app/views/auth/sessions/new.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/auth/sessions/new.html.haml b/app/views/auth/sessions/new.html.haml
index ceb169408..9713bdaeb 100644
--- a/app/views/auth/sessions/new.html.haml
+++ b/app/views/auth/sessions/new.html.haml
@@ -22,7 +22,6 @@
 
     .actions
       - resource_class.omniauth_providers.each do |provider|
-        = link_to omniauth_authorize_path(resource_name, provider), class: "button button-#{provider}" do
-          = t("auth.providers.#{provider}", default: provider.to_s.chomp("_oauth2").capitalize)
+        = link_to t("auth.providers.#{provider}", default: provider.to_s.chomp("_oauth2").capitalize), omniauth_authorize_path(resource_name, provider), class: "button button-#{provider}", method: :post
 
 .form-footer= render 'auth/shared/links'