Skip to content

Commit

Permalink
use post instead of get as per heartcombo/devise#5236 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreidy committed Mar 14, 2022
1 parent 86ca05f commit afd38ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/shared/_user_util_links.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
ENV['GOOGLE_CLIENT_ID'] ? catalog_logins_path : user_saml_omniauth_authorize_path
%>
<li>
<%= 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']);" %>
</li>
<% end %>
<% end %>
Expand Down

0 comments on commit afd38ef

Please sign in to comment.