Skip to content
Snippets Groups Projects
Unverified Commit a70e2cd6 authored by Chris Rose's avatar Chris Rose Committed by GitHub
Browse files

Tag the OTP field with autocomplete for password managers (#19946)

parent 4b7f32a2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment