Two-Factor Authentication

Enter the 6-digit code from your authenticator app to complete sign in.

<%= form_with url: totp_verification_path, method: :post, class: "space-y-6" do |form| %> <%= hidden_field_tag :rd, params[:rd] if params[:rd].present? %>
<%= label_tag :code, "Verification Code", class: "block text-sm font-medium text-gray-700" %> <%= text_field_tag :code, nil, placeholder: "000000", maxlength: 8, required: true, autofocus: true, autocomplete: "off", class: "mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 text-center text-2xl tracking-widest font-mono sm:text-sm" %>

Enter your 6-digit authenticator code or an 8-character backup code

<%= form.submit "Verify", class: "w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500" %>
<% end %>
Need help?

Lost access to your authenticator?

Contact an administrator for assistance.

<%= link_to "Cancel and sign in again", signin_path, class: "text-sm text-blue-600 hover:text-blue-500" %>