re-enable ip check for registration
This commit is contained in:
parent
ccebf58a1f
commit
a36c3d8322
|
|
@ -76,17 +76,14 @@ else
|
||||||
if (emailRegistered($email))
|
if (emailRegistered($email))
|
||||||
{
|
{
|
||||||
$error = "Email is already registered";
|
$error = "Email is already registered";
|
||||||
//redirect("/login"); //email already exists, redirect to login
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$ip = getIP();
|
$ip = getIP();
|
||||||
/*
|
|
||||||
if (isIPAssociatedWithAccount($ip))
|
if (isIPAssociatedWithAccount($ip))
|
||||||
{
|
{
|
||||||
$error = "IP Associated with another account";
|
$error = "Please contact an Administrator if possible.";
|
||||||
redirect("/login"); //ip is associated with another account, redirect to login
|
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
if($error == "")
|
if($error == "")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue