2017-05-17 11:29:54 +02:00
|
|
|
<div class="box wide">
|
|
|
|
<div class="legend">
|
2017-05-17 18:34:19 +02:00
|
|
|
<%= t('.login2fa') %>
|
2017-05-17 11:29:54 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<%= form_tag twofa_login_url do %>
|
|
|
|
<p>
|
2017-05-17 18:34:19 +02:00
|
|
|
<%= t('.logintotpcode') %>
|
2017-05-17 11:29:54 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
2017-05-17 18:34:19 +02:00
|
|
|
<%= label_tag :totp_code, t('.totpcode') %>
|
2017-05-17 18:49:24 +02:00
|
|
|
<%= number_field_tag :totp_code, "", :size => 10, :autocomplete => "off",
|
|
|
|
:autofocus => true, :class => "totp_code" %>
|
2017-05-17 11:29:54 +02:00
|
|
|
<br />
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
2017-05-17 18:34:19 +02:00
|
|
|
<%= submit_tag t('.loginbutton') %>
|
2017-05-17 11:29:54 +02:00
|
|
|
</p>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
|