From: Tom Hughes Date: Sat, 20 Mar 2010 00:01:57 +0000 (+0000) Subject: Disable autocompletion for the password fields on the settings page. X-Git-Tag: live~6330^2~27 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/d6d0a2b1a61a0326bbb8eb3392e48b448ffa8d4f Disable autocompletion for the password fields on the settings page. --- diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index 13e8a7564..85e9aebef 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -19,12 +19,12 @@ <%= t 'user.new.password' %> - <%= f.password_field :pass_crypt, {:value => '', :size => 30, :maxlength => 255} %> + <%= f.password_field :pass_crypt, {:value => '', :size => 30, :maxlength => 255, :autocomplete => :off} %> <%= t 'user.new.confirm password' %> - <%= f.password_field :pass_crypt_confirmation, {:value => '', :size => 30, :maxlength => 255} %> + <%= f.password_field :pass_crypt_confirmation, {:value => '', :size => 30, :maxlength => 255, :autocomplete => :off} %>