summaryrefslogtreecommitdiff
path: root/app/views/otp_challenges/new.html.erb
blob: d6e18c8559527642cdbe50a1ad61db7e33339664 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<h1>Second factor</h1>

<div id="admin_layout">
  <div class="layout_row_label">Code</div>
  <div class="layout_row_content">
    <%= form_tag otp_challenge_path, :method => :post, :class => "otp_form" do %>
      <%= text_field_tag :code, nil, :autofocus => true,
            :autocomplete => "one-time-code", :inputmode => "numeric" %>
      <%= submit_tag "Log in" %>
    <% end %>
    <span class="field_hint">Enter the six-digit code from your authenticator app.</span>
  </div>
</div>