Disable autocompletion for the password fields on the settings page.

This commit is contained in:
Tom Hughes 2010-03-20 00:01:57 +00:00
parent aa90ace7b4
commit d6d0a2b1a6

View file

@ -19,12 +19,12 @@
<tr> <tr>
<td class="fieldName" style="padding-bottom:0px;"><%= t 'user.new.password' %></td> <td class="fieldName" style="padding-bottom:0px;"><%= t 'user.new.password' %></td>
<td style="padding-bottom:0px;"><%= f.password_field :pass_crypt, {:value => '', :size => 30, :maxlength => 255} %></td> <td style="padding-bottom:0px;"><%= f.password_field :pass_crypt, {:value => '', :size => 30, :maxlength => 255, :autocomplete => :off} %></td>
</tr> </tr>
<tr> <tr>
<td class="fieldName"><%= t 'user.new.confirm password' %></td> <td class="fieldName"><%= t 'user.new.confirm password' %></td>
<td><%= f.password_field :pass_crypt_confirmation, {:value => '', :size => 30, :maxlength => 255} %></td> <td><%= f.password_field :pass_crypt_confirmation, {:value => '', :size => 30, :maxlength => 255, :autocomplete => :off} %></td>
</tr> </tr>
<tr> <tr>