Two Factor Authentication

<%= form_for @changeset, ~p"/sessions/totp", [as: :user, method: "post"], fn f -> %>

Please enter your 2FA code

<%= text_input(f, :twofactor_token, class: "input", placeholder: "6-digit code", required: true, autofocus: true, autocomplete: "off") %>
<%= checkbox(f, :remember_me, class: "input", checked: true) %> <%= label(f, :remember_me, "Remember this device") %>
<%= submit("Sign in", class: "button") %> <% end %>