summaryrefslogtreecommitdiffstats
path: root/app/views/twofa/activate_confirm.html.erb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-12-08 23:39:16 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-12-08 23:39:16 +0000
commit8600e7ec8e30b3cb0e82f34ed858e23d024937c5 (patch)
tree7fa6b36aee837ff6824333cefab22a727cac070d /app/views/twofa/activate_confirm.html.erb
parent5c3eef81d4b4004c73bdd15bbc7e688b20848748 (diff)
downloadredmine-8600e7ec8e30b3cb0e82f34ed858e23d024937c5.tar.gz
redmine-8600e7ec8e30b3cb0e82f34ed858e23d024937c5.zip
Merge r23360 from trunk to 5.1-stable (#41927).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23367 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/twofa/activate_confirm.html.erb')
-rw-r--r--app/views/twofa/activate_confirm.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/twofa/activate_confirm.html.erb b/app/views/twofa/activate_confirm.html.erb
index 78194c62b..6a9bb070e 100644
--- a/app/views/twofa/activate_confirm.html.erb
+++ b/app/views/twofa/activate_confirm.html.erb
@@ -12,7 +12,7 @@
<%= render partial: "twofa/#{@twofa_view[:scheme_name]}/new", locals: { twofa_view: @twofa_view } -%>
<p>
<label for="twofa_code"><%=l 'twofa_label_code' -%></label>
- <%= text_field_tag :twofa_code, nil, autocomplete: 'off', autofocus: true -%>
+ <%= text_field_tag :twofa_code, nil, autocomplete: 'one-time-code', autofocus: true -%>
</p>
</div>
</div>