From d6d0a2b1a61a0326bbb8eb3392e48b448ffa8d4f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 20 Mar 2010 00:01:57 +0000 Subject: [PATCH 1/1] Disable autocompletion for the password fields on the settings page. --- app/views/user/account.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} %> -- 2.45.1