app/views/devise/registrations/new.html.erb in devise-4.4.3 vs app/views/devise/registrations/new.html.erb in devise-4.5.0
- old
+ new
@@ -11,15 +11,15 @@
<div class="field">
<%= f.label :password %>
<% if @minimum_password_length %>
<em>(<%= @minimum_password_length %> characters minimum)</em>
<% end %><br />
- <%= f.password_field :password, autocomplete: "off" %>
+ <%= f.password_field :password, autocomplete: "new-password" %>
</div>
<div class="field">
<%= f.label :password_confirmation %><br />
- <%= f.password_field :password_confirmation, autocomplete: "off" %>
+ <%= f.password_field :password_confirmation, autocomplete: "new-password" %>
</div>
<div class="actions">
<%= f.submit "Sign up" %>
</div>