Skip to content

Commit

Permalink
change method to :post for omniauth_authorize_path to follow (#300)
Browse files Browse the repository at this point in the history
devise-4.8.0 template
  • Loading branch information
ichylinux authored May 31, 2021
1 parent 3388194 commit ac53ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/devise/shared/_links.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@

<%- if devise_mapping.omniauthable? %>
<%- resource_class.omniauth_providers.each do |provider| %>
<%= link_to t('.sign_in_with_provider', provider: OmniAuth::Utils.camelize(provider)), omniauth_authorize_path(resource_name, provider) %><br />
<%= link_to t('.sign_in_with_provider', provider: OmniAuth::Utils.camelize(provider)), omniauth_authorize_path(resource_name, provider), method: :post %><br />
<% end %>
<% end %>

0 comments on commit ac53ebe

Please sign in to comment.