Skip to content

Commit

Permalink
Helps if you use the right conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtOfCode- committed Jun 9, 2017
1 parent 3dae801 commit 126a315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/devise/registrations/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</div>
<% end %>
<% unless current_user.oauth_created %>
<% if current_user.oauth_created %>
<h3>No password? No problem!</h3>
<%= form_tag url_for(controller: '/users', action: :update_email) do %>
<div class="field">
Expand Down

0 comments on commit 126a315

Please sign in to comment.