summaryrefslogtreecommitdiffstats
path: root/app/views/sudo_mode/_new_modal.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/sudo_mode/_new_modal.html.erb')
-rw-r--r--app/views/sudo_mode/_new_modal.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/sudo_mode/_new_modal.html.erb b/app/views/sudo_mode/_new_modal.html.erb
index 8c86436cf..d259c5a2a 100644
--- a/app/views/sudo_mode/_new_modal.html.erb
+++ b/app/views/sudo_mode/_new_modal.html.erb
@@ -8,7 +8,7 @@
<div class="box tabular">
<p>
<label for="sudo_password"><%= l :field_password %><span class="required">*</span></label>
- <%= password_field_tag :sudo_password, nil, size: 25 %>
+ <%= password_field_tag :sudo_password, nil, size: 25, :autocomplete => 'current-password' %>
<br/><%= link_to l(:label_password_lost), lost_password_path, :class => "lost_password" if Setting.lost_password? %>
</p>
</div>