25 lines
665 B
Plaintext
25 lines
665 B
Plaintext
|
<div class="box wide">
|
||
|
<div class="legend right">
|
||
|
<a href="/settings">Back to Settings</a>
|
||
|
</div>
|
||
|
<div class="legend">
|
||
|
<%= @title %>
|
||
|
</div>
|
||
|
|
||
|
<%= form_tag twofa_update_url do %>
|
||
|
<p>
|
||
|
To enable Two-Factor Authentication on your account using your new TOTP
|
||
|
secret, enter the six-digit code from your TOTP application:
|
||
|
</p>
|
||
|
|
||
|
<div class="boxline">
|
||
|
<%= label_tag :totp_code, "TOTP Code:", :class => "required" %>
|
||
|
<%= text_field_tag :totp_code, "", :size => 10, :autocomplete => "off",
|
||
|
:type => "number", :autofocus => "autofocus" %>
|
||
|
</div>
|
||
|
|
||
|
<p>
|
||
|
<%= submit_tag "Verify and Enable" %>
|
||
|
<% end %>
|
||
|
</div>
|