From fc8ad0c0a9380f77f236eff4ccf7e62416dd1339 Mon Sep 17 00:00:00 2001 From: Lan Hui Date: Wed, 23 Mar 2022 14:57:05 +0800 Subject: [PATCH] Fix bug 193 http://118.25.96.118/bugzilla/show_bug.cgi?id=193 --- Script.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Script.php b/Script.php index 68c3b3c..8738113 100644 --- a/Script.php +++ b/Script.php @@ -107,10 +107,7 @@ if (!empty($_POST["form_signup"])) { $result = mysqli_query($con, "SELECT * FROM users_table WHERE email='$email'"); if(mysqli_num_rows($result) != 0) { - $_SESSION["info_signup"]="Email address ".$email." is already in use."; - $_SESSION['user_fullname'] = null; - header("Location: signup.php"); - return; + $_SESSION["info_signup"]="Email address ".$email." is already in use. Do you have an old LRR account?"; } // apply password_hash() -- 2.17.1