Back to Settings
<%= @title %>
<%= form_with url: twofa_update_url do |f| %>

To enable Two-Factor Authentication on your account using your new TOTP secret, enter the six-digit code from your TOTP application:

<%= f.label :totp_code, "TOTP Code:", :class => "required" %> <%= f.number_field :totp_code, :size => 10, :autocomplete => "off", :autofocus => true, :class => "totp_code" %>

<%= f.submit "Verify and Enable" %> <% end %>