Skip to content

Commit

Permalink
Remove social logins from the sign in page (CodeForPortland#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
antibland committed Feb 25, 2019
1 parent 25e74cd commit 103d971
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app/views/devise/sessions/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<% provide :title do %><%= t("devise_views.sessions.new.title") %><% end %>
<h2><%= t("devise_views.sessions.new.title") %></h2>

<%= render 'devise/omniauth_form' %>

<p>
<%= t("devise_views.shared.links.signup",
signup_link: link_to(t("devise_views.shared.links.signup_link"), new_user_registration_path)).html_safe %>
Expand Down
2 changes: 0 additions & 2 deletions app/views/users/registrations/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<% provide :title do %><%= t("devise_views.users.registrations.new.title") %><% end %>
<h2><%= t("devise_views.users.registrations.new.title") %></h2>

<%= render 'devise/omniauth_form' %>

<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= render 'shared/errors', resource: resource %>

Expand Down

0 comments on commit 103d971

Please sign in to comment.