2015-03-30 21:19:01 -04:00
|
|
|
%div
|
|
|
|
.login-box
|
|
|
|
.login-heading
|
2015-05-04 14:11:00 -04:00
|
|
|
%h3 Two-factor Authentication
|
2015-03-30 21:19:01 -04:00
|
|
|
.login-body
|
|
|
|
= form_for(resource, as: resource_name, url: session_path(resource_name), method: :post) do |f|
|
2016-05-30 22:17:26 -04:00
|
|
|
= f.hidden_field :remember_me, value: params[resource_name][:remember_me]
|
2016-05-31 13:57:34 -04:00
|
|
|
= f.text_field :otp_attempt, class: 'form-control', placeholder: 'Two-factor Authentication code', required: true, autofocus: true, autocomplete: 'off'
|
2016-03-31 21:54:03 -04:00
|
|
|
%p.help-block.hint Enter the code from the two-factor app on your mobile device. If you've lost your device, you may enter one of your recovery codes.
|
2015-03-30 21:19:01 -04:00
|
|
|
.prepend-top-20
|
|
|
|
= f.submit "Verify code", class: "btn btn-save"
|