about summary refs log tree commit diff
path: root/app/views/auth/sessions
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-11-07 08:31:36 +0100
committerGitHub <noreply@github.com>2022-11-07 08:31:36 +0100
commitb67e0c94a68e38fce1b996879c9279426cc8647d (patch)
tree4616faef084b1b6eab7d6324ef20b2fb0f75f3c4 /app/views/auth/sessions
parent54101563bbadbfafd9291a867d7fbea6df3a8b7b (diff)
parent7ba13dddfadc4231f8c0643bae5a20018892855b (diff)
Merge pull request #1899 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/views/auth/sessions')
-rw-r--r--app/views/auth/sessions/two_factor/_otp_authentication_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/auth/sessions/two_factor/_otp_authentication_form.html.haml b/app/views/auth/sessions/two_factor/_otp_authentication_form.html.haml
index ab2d48c0a..82f957527 100644
--- a/app/views/auth/sessions/two_factor/_otp_authentication_form.html.haml
+++ b/app/views/auth/sessions/two_factor/_otp_authentication_form.html.haml
@@ -5,7 +5,7 @@
   %p.hint.authentication-hint= t('simple_form.hints.sessions.otp')
 
   .fields-group
-    = f.input :otp_attempt, type: :number, wrapper: :with_label, label: t('simple_form.labels.defaults.otp_attempt'), input_html: { 'aria-label' => t('simple_form.labels.defaults.otp_attempt'), :autocomplete => 'off' }, autofocus: true
+    = f.input :otp_attempt, type: :number, wrapper: :with_label, label: t('simple_form.labels.defaults.otp_attempt'), input_html: { 'aria-label' => t('simple_form.labels.defaults.otp_attempt'), :autocomplete => 'one-time-code' }, autofocus: true
 
   .actions
     = f.button :button, t('auth.login'), type: :submit