All fields are required.
"; unset($_SESSION['m']); } elseif (isset($_SESSION['m4']) == 'user_leng') { echo "
Your username must not be greater than 13 characters.

"; unset($_SESSION['m4']); } elseif (isset($_SESSION['m5']) == 'user_exi') { echo "
That username already exists.

"; unset($_SESSION['m5']); } elseif (isset($_SESSION['m3']) == 'pdnm_aumna') { echo "
Your username must be alphanumeric and the passwords you entered did not match.

"; unset($_SESSION['m3']); } elseif (isset($_SESSION['m2']) == 'user_alnum') { echo "
Your username must be alphanumeric.

"; unset($_SESSION['m2']); } elseif (isset($_SESSION['m1']) == 'chec_yapass') { echo "
The passwords you entered did not match.

"; unset($_SESSION['m1']); } elseif (isset($_SESSION['m6']) == 'gen_error') { echo "
There was an error.

"; unset($_SESSION['m6']); } session_destroy(); ?> Enter your login details one last time.
Enter the 2FA code that was sent to your linked email.
You will be redirected to the Hub if it is correct.


Misdew
All fields are required.
"; unset($_SESSION['m']); } elseif (isset($_SESSION['m4']) == 'user_leng') { echo "
Your username must not be greater than 13 characters.

"; unset($_SESSION['m4']); } elseif (isset($_SESSION['m5']) == 'user_exi') { echo "
That username already exists.

"; unset($_SESSION['m5']); } elseif (isset($_SESSION['m3']) == 'pdnm_aumna') { echo "
Your username must be alphanumeric and the passwords you entered did not match.

"; unset($_SESSION['m3']); } elseif (isset($_SESSION['m2']) == 'user_alnum') { echo "
Your username must be alphanumeric.

"; unset($_SESSION['m2']); } elseif (isset($_SESSION['m1']) == 'chec_yapass') { echo "
The passwords you entered did not match.

"; unset($_SESSION['m1']); } elseif (isset($_SESSION['m6']) == 'gen_error') { echo "
There was an error.

"; unset($_SESSION['m6']); } session_destroy(); ?> Complete the form below.
Your 2FA code will be sent to your linked email.
You will be redirected to a page to enter the code.
Email is case sensitive.


Your account was successfully logged into.
2FA has been enabled for your account so the code below is needed to fully login.
If you did not login, your account has been compromised. Please update your password immediately if you did not request a 2FA code.
Contact me@justa.us if you need any help.

Use this code on the 2FA page: $rand2facode

"; $headers = "Content-Type: text/html; charset=utf-8"; mail($to,$subject,$txt,$headers); header("location: /2fa/code.php"); exit(); } else { echo "error"; exit(); } } else { echo "error"; exit(); } } else { echo "error"; exit(); } ?>