Disable autocompletion for the password fields on the settings page.
This commit is contained in:
parent
aa90ace7b4
commit
d6d0a2b1a6
1 changed files with 2 additions and 2 deletions
|
@ -19,12 +19,12 @@
|
|||
|
||||
<tr>
|
||||
<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>
|
||||
<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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue