Merge pull request #9832 from demarches-simplifiees/do_not_prefill_totp
SuperAdmin: ne préremplit pas le code totp
This commit is contained in:
commit
1d088c37c3
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
- if SUPER_ADMIN_OTP_ENABLED
|
- if SUPER_ADMIN_OTP_ENABLED
|
||||||
.fr-fieldset__element
|
.fr-fieldset__element
|
||||||
= render Dsfr::InputComponent.new(form: f, attribute: :otp_attempt, input_type: :number_field, opts: { inputmode: :numeric }, required: false)
|
= render Dsfr::InputComponent.new(form: f, attribute: :otp_attempt, input_type: :number_field, opts: { inputmode: :numeric, autocomplete: 'off' }, required: false)
|
||||||
|
|
||||||
.fr-fieldset__element
|
.fr-fieldset__element
|
||||||
%p= link_to "Mot de passe oublié ou réinitialisation 2FA ?", new_super_admin_password_path, class: "fr-link"
|
%p= link_to "Mot de passe oublié ou réinitialisation 2FA ?", new_super_admin_password_path, class: "fr-link"
|
||||||
|
|
Loading…
Reference in a new issue