Focus authenticator code field [SCI-6716] (#4022)

This commit is contained in:
ajugo 2022-04-14 15:17:56 +02:00 committed by GitHub
parent 4f2fd79f67
commit 02677aaaba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@
<p><%= t "devise.sessions.2fa.description" %></p>
<p class="input-group sci-input-container">
<%= label :otp, t("devise.sessions.2fa.field") %>
<%= text_field_tag(:otp, '', { class: "form-control sci-input-field" })%>
<%= text_field_tag(:otp, '', { class: "form-control sci-input-field", autofocus: true})%>
</p>
<p class="actions">