summaryrefslogtreecommitdiff
path: root/app/views/otp_challenges/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/otp_challenges/new.html.erb')
-rw-r--r--app/views/otp_challenges/new.html.erb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/otp_challenges/new.html.erb b/app/views/otp_challenges/new.html.erb
new file mode 100644
index 00000000..a9c7a15c
--- /dev/null
+++ b/app/views/otp_challenges/new.html.erb
@@ -0,0 +1,13 @@
1<h1>Second factor</h1>
2
3<div id="page_editor">
4 <div class="node_description">Code</div>
5 <div class="node_content">
6 <%= form_tag otp_challenge_path, :method => :post do %>
7 <%= text_field_tag :code, nil, :autofocus => true,
8 :autocomplete => "one-time-code", :inputmode => "numeric" %>
9 <%= submit_tag "Log in" %>
10 <% end %>
11 <span class="field_hint">Enter the six-digit code from your authenticator app.</span>
12 </div>
13</div>