louie_branch #65

Merged
MarkHipe merged 11 commits from louie_branch into main 2024-04-23 09:32:23 +08:00
1 changed files with 7 additions and 1 deletions
Showing only changes of commit 31f38da140 - Show all commits

View File

@ -19,7 +19,13 @@
if ($result > 0) {
$_SESSION["isVendor"] = true;
}
header("location: $url");
if ($url == "/forgot_password.php" || $url == "/forget_otp.php")
{
header("location: index.php");
}else {
header("location: $url");
}
} else {
// $_SESSION["loginError"] = "Invalid email or password. Please try again.";
header("location: login.php?error=1");