Browse Source

Merge pull request #174 from gustavokitman/patch-1

Autofocus MFA code text field
master
Dmitrii Golub 5 years ago committed by GitHub
parent
commit
2229ead781
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