diff options
author | Go MAEDA <maeda@farend.jp> | 2024-12-08 06:18:26 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-12-08 06:18:26 +0000 |
commit | ab4bca896ed7402a053cca9eedc8dd32184d97a4 (patch) | |
tree | 45fcfe0f553f3961042886d5c24f75202ecd1015 /app/views/twofa/_twofa_code_form.html.erb | |
parent | 80b6bc0fd856fd66a157c6a7098ad6337eda1b47 (diff) | |
download | redmine-ab4bca896ed7402a053cca9eedc8dd32184d97a4.tar.gz redmine-ab4bca896ed7402a053cca9eedc8dd32184d97a4.zip |
Enable browser autocomplete for 2FA input fields (#41927).
Contributed by Thomas Butz (user:otbutz).
git-svn-id: https://svn.redmine.org/redmine/trunk@23360 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/twofa/_twofa_code_form.html.erb')
-rw-r--r-- | app/views/twofa/_twofa_code_form.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/twofa/_twofa_code_form.html.erb b/app/views/twofa/_twofa_code_form.html.erb index b9d0e1bf7..5ba01dfbf 100644 --- a/app/views/twofa/_twofa_code_form.html.erb +++ b/app/views/twofa/_twofa_code_form.html.erb @@ -3,7 +3,7 @@ <div class="tabular"> <p> <label for="twofa_code"><%=l 'twofa_label_code' -%></label> - <%= text_field_tag :twofa_code, nil, autocomplete: 'off' -%> + <%= text_field_tag :twofa_code, nil, autocomplete: 'one-time-code' -%> </p> </div> </div> |