From 420d44b6e2acf9d5ebc051010db876eb514e3238 Mon Sep 17 00:00:00 2001 From: James Reidy Date: Mon, 14 Mar 2022 15:49:35 -0400 Subject: [PATCH] use :post method as per https://github.com/heartcombo/devise/issues/5236#issuecomment-766336837 --- app/views/shared/_user_util_links.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/_user_util_links.html.erb b/app/views/shared/_user_util_links.html.erb index f4c24782f..9cfbaa20a 100644 --- a/app/views/shared/_user_util_links.html.erb +++ b/app/views/shared/_user_util_links.html.erb @@ -15,7 +15,7 @@ ENV['GOOGLE_CLIENT_ID'] ? catalog_logins_path : user_saml_omniauth_authorize_path %>
  • - <%= link_to 'Sign in', @sign_in_link, :data => {:toggle => 'tooltip', :placement => 'bottom'}, :title => 'Sign in to email items or save them to Book Bag', :onclick => "javascript:_paq.push(['trackEvent', 'header_links', 'Sign in']);" %> + <%= link_to 'Sign in', @sign_in_link, method: :post, :data => {:toggle => 'tooltip', :placement => 'bottom'}, :title => 'Sign in to email items or save them to Book Bag', :onclick => "javascript:_paq.push(['trackEvent', 'header_links', 'Sign in']);" %>
  • <% end %> <% end %>