This commit is contained in:
Suvodip
2025-03-25 13:24:55 +05:30
parent a8c21c995c
commit 7dcd87c174
5 changed files with 132 additions and 7 deletions

View File

@@ -21,7 +21,7 @@
$_SESSION['customerId'] = $user['customerId'];
// var_dump($_SESSION);
echo "Login successful! Welcome, " . htmlspecialchars($user['email']);
header("Location: /");
header("Location: /profile");
// var_dump($_SESSION);
} else {
echo "Invalid email or password.";