BigW Consortium Gitlab

two_factor.html.haml 508 Bytes
Newer Older
1 2 3
%div
  .login-box
    .login-heading
4
      %h3 Two-factor Authentication
5 6
    .login-body
      = form_for(resource, as: resource_name, url: session_path(resource_name), method: :post) do |f|
7
        = f.text_field :otp_attempt, class: 'form-control', placeholder: 'Two-factor authentication code', required: true, autofocus: true
8
        %p.help-block.hint If you've lost your phone, you may enter one of your recovery codes.
9 10
        .prepend-top-20
          = f.submit "Verify code", class: "btn btn-save"