From a36c3d83229f2cfe9ff685031f0f3140d42a52ef Mon Sep 17 00:00:00 2001 From: Astrologies Date: Tue, 30 Nov 2021 00:40:49 -0500 Subject: [PATCH] re-enable ip check for registration --- html/register.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/html/register.php b/html/register.php index c61d8d2..91dc821 100644 --- a/html/register.php +++ b/html/register.php @@ -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 == "") {