Fix #4162: Remove browser autocomplete from most inputs.

This commit is contained in:
evazion
2020-01-10 16:08:34 -06:00
parent cde8ee64e1
commit c86c61c9a4
42 changed files with 46 additions and 41 deletions

View File

@@ -3,7 +3,7 @@
<h1>API Key</h1>
<p>You must re-enter your password to view or change your API key.</p>
<%= simple_form_for CurrentUser.user, url: view_user_api_key_path(CurrentUser.user), method: :post do |f| %>
<%= edit_form_for CurrentUser.user, url: view_user_api_key_path(CurrentUser.user), method: :post do |f| %>
<%= f.input :password, :as => :password, :input_html => {:autocomplete => "off"} %>
<%= f.button :submit, "Submit" %>
<% end %>