re-enable ip check for registration

This commit is contained in:
Astrologies 2021-11-30 00:40:49 -05:00
parent ccebf58a1f
commit a36c3d8322
1 changed files with 2 additions and 5 deletions

View File

@ -76,17 +76,14 @@ else
if (emailRegistered($email))
{
$error = "Email is already registered";
//redirect("/login"); //email already exists, redirect to login
}
$ip = getIP();
/*
if (isIPAssociatedWithAccount($ip))
{
$error = "IP Associated with another account";
redirect("/login"); //ip is associated with another account, redirect to login
$error = "Please contact an Administrator if possible.";
}
*/
if($error == "")
{