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

<div id="page_editor">
  <div class="node_description">Code</div>
  <div class="node_content">
    <%= form_tag otp_challenge_path, :method => :post 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>