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|
|
2015-05-05 22:12:35 -04:00
|
|
|
= f.text_field :otp_attempt, class: 'form-control', placeholder: 'Two-factor authentication code', required: true, autofocus: true
|
2015-05-08 20:56:04 -04:00
|
|
|
%p.help-block.hint If you've lost your phone, 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"
|