Browse Source

no password confirmation field in reset password

pull/81/head
MadeTech Dushan 3 years ago
parent
commit
701951411e
  1. 5
      app/views/devise/passwords/edit.html.erb

5
app/views/devise/passwords/edit.html.erb

@ -13,11 +13,6 @@
<%= f.password_field :password, autofocus: true, autocomplete: "new-password", class: "govuk-input" %> <%= f.password_field :password, autofocus: true, autocomplete: "new-password", class: "govuk-input" %>
</div> </div>
<div class="govuk-form-group">
<%= f.label :password_confirmation, "Confirm new password", class: "govuk-label" %>
<%= f.password_field :password_confirmation, autocomplete: "new-password", class: "govuk-input" %>
</div>
<%= f.submit "Reset password", class: "govuk-button" %> <%= f.submit "Reset password", class: "govuk-button" %>
</div> </div>
</div> </div>

Loading…
Cancel
Save