Browse Source

Autofocus MFA code text field

This is a small change which will make users life so much easier.
master
Gustavo Lazaro Amendola 6 years ago committed by GitHub
parent
commit
2d3650dd59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/views/devise/two_factor_authentication/show.html.erb

2
app/views/devise/two_factor_authentication/show.html.erb

@ -7,7 +7,7 @@
<p><%= flash[:notice] %></p>
<%= form_tag([resource_name, :two_factor_authentication], :method => :put) do %>
<%= text_field_tag :code %>
<%= text_field_tag :code, '', autofocus: true %>
<%= submit_tag "Submit" %>
<% end %>

Loading…
Cancel
Save