diff options
author | Go MAEDA <maeda@farend.jp> | 2024-12-08 06:40:47 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-12-08 06:40:47 +0000 |
commit | 4f761e34e89cad617441abee78eb03bd1d935169 (patch) | |
tree | 4bc95c3e8bd05cbf2a77f446c493295af3408f00 /app/views/account/password_recovery.html.erb | |
parent | ab4bca896ed7402a053cca9eedc8dd32184d97a4 (diff) | |
download | redmine-4f761e34e89cad617441abee78eb03bd1d935169.tar.gz redmine-4f761e34e89cad617441abee78eb03bd1d935169.zip |
Enable browser autocomplete for login input fields (#41937).
Contributed by Thomas Butz (user:otbutz).
git-svn-id: https://svn.redmine.org/redmine/trunk@23361 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/account/password_recovery.html.erb')
-rw-r--r-- | app/views/account/password_recovery.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/account/password_recovery.html.erb b/app/views/account/password_recovery.html.erb index 0c275b476..a3556ce75 100644 --- a/app/views/account/password_recovery.html.erb +++ b/app/views/account/password_recovery.html.erb @@ -7,7 +7,7 @@ <div class="box tabular"> <p> <label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label> - <%= password_field_tag 'new_password', nil, :size => 25 %> + <%= password_field_tag 'new_password', nil, :size => 25, :autocomplete => 'new-password' %> <em class="info"><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em> <% if Setting.password_required_char_classes.any? %> <em class="info"><%= l(:text_characters_must_contain, :character_classes => Setting.password_required_char_classes.collect{|c| l("label_password_char_class_#{c}")}.join(", ")) %></em> @@ -16,7 +16,7 @@ <p> <label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label> - <%= password_field_tag 'new_password_confirmation', nil, :size => 25 %> + <%= password_field_tag 'new_password_confirmation', nil, :size => 25, :autocomplete => 'new-password' %> </p> </div> <p><%= submit_tag l(:button_save) %></p> |