From 625d447dd998b2fba3735e6e4ba53edb05f33937 Mon Sep 17 00:00:00 2001 From: CloudStarTreck <37251906+Teecloudy@users.noreply.github.com> Date: Mon, 16 Mar 2020 15:32:07 +0800 Subject: [PATCH] Update Script.php Allow users to login soon after signup by confirming the user details from the database on line 159 --- Script.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Script.php b/Script.php index 661f281..19bffe2 100644 --- a/Script.php +++ b/Script.php @@ -156,7 +156,7 @@ header("Location: index.php"); else { while($row = mysqli_fetch_assoc($result)) { - // verify the hashed password and unhashed password + // verify the hashed password and unhashed password if(password_verify($password, $row["Password"]) or ($password = $row["Password"])){ $_SESSION['user_id']=$row['User_ID']; $_SESSION['user_email']=$row['Email'];