]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/user_helper.rb
Update to Omniauth 2.x
[rails.git] / app / helpers / user_helper.rb
index 5b33b57b331f8d842b49c201ae30ef129701de20..39532572e8136734da3dfadb58c37d2a2c6c5082 100644 (file)
@@ -60,6 +60,7 @@ module UserHelper
     link_to(
       image_tag("#{name}.svg", :alt => t("users.login.auth_providers.#{name}.alt"), :class => "rounded-lg"),
       auth_path(options.merge(:provider => provider)),
     link_to(
       image_tag("#{name}.svg", :alt => t("users.login.auth_providers.#{name}.alt"), :class => "rounded-lg"),
       auth_path(options.merge(:provider => provider)),
+      :method => :post,
       :class => "auth_button",
       :title => t("users.login.auth_providers.#{name}.title")
     )
       :class => "auth_button",
       :title => t("users.login.auth_providers.#{name}.title")
     )