Login - Step 2
form_tag(ADMIN_ROOT_URL . "auth2", array(), function($f) use ($html, $auth_user) { ?> flash_errors(); ?> flash_notices(); ?> label_tag("username", "Username:", array("class" => "required")); ?> username) ?>
totp_secret) { ?> label_tag("totp_code", "TOTP Code:", array("class" => "required")); ?> text_field_tag("totp_code", "", array("autofocus" => "autofocus")) ?>

submit_tag("Login"); ?>

new_totp; ?>
Scan the following QR code in a TOTP-compatible application such as Google Authenticator:

hidden_field_tag("totp_secret", $auth_user->totp_secret); ?> submit_tag("Proceed"); ?>