Skip to content

Commit

Permalink
enable local login temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
kf8a committed Feb 6, 2025
1 parent 0a45a81 commit 07654f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/devise/shared/_links.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
<%= button_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider), class: 'btn sign-in-button' %><br />
<% end %>
<% end %>
<% else %>
<% end %>
<%- if controller_name != 'sessions' %>
<%= link_to "Log in", new_user_session_path(resource_name) %><br />
<% end %>

<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
<%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
<% end %>
<% end %>

0 comments on commit 07654f0

Please sign in to comment.