Bug193-Martha^2
parent
8b91a8ed7f
commit
fc8ad0c0a9
|
@ -107,10 +107,7 @@ if (!empty($_POST["form_signup"])) {
|
||||||
$result = mysqli_query($con, "SELECT * FROM users_table WHERE email='$email'");
|
$result = mysqli_query($con, "SELECT * FROM users_table WHERE email='$email'");
|
||||||
if(mysqli_num_rows($result) != 0)
|
if(mysqli_num_rows($result) != 0)
|
||||||
{
|
{
|
||||||
$_SESSION["info_signup"]="Email address ".$email." is already in use.";
|
$_SESSION["info_signup"]="Email address ".$email." is already in use. Do you have an old LRR account?";
|
||||||
$_SESSION['user_fullname'] = null;
|
|
||||||
header("Location: signup.php");
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// apply password_hash()
|
// apply password_hash()
|
||||||
|
|
Loading…
Reference in New Issue