Skip to content

Commit

Permalink
Avoid password manager autocompletion on user settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Jan 28, 2021
1 parent e6dbf56 commit e6db73f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/users/account.html.erb
Expand Up @@ -14,9 +14,9 @@
<%= f.text_field :display_name %>
<%= f.email_field :email, :disabled => true, :label => t(".current email address") %>
<%= f.email_field :new_email, :autocomplete => :off %>
<%= f.password_field :pass_crypt, :value => "", :autocomplete => :off %>
<%= f.password_field :pass_crypt_confirmation, :value => "", :autocomplete => :off %>
<%= f.email_field :new_email, :autocomplete => "email" %>
<%= f.password_field :pass_crypt, :value => "", :autocomplete => "new-password" %>
<%= f.password_field :pass_crypt_confirmation, :value => "", :autocomplete => "new-password" %>

<fieldset class="form-group">
<label for="user_auth_provider"><%= t(".external auth") %></label>
Expand Down

0 comments on commit e6db73f

Please sign in to comment.