s21
This commit is contained in:
@@ -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.";
|
||||
|
||||
Reference in New Issue
Block a user