From 6426f4b924387d170cf873727209eb5be5aab4ee Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 24 Mar 2025 16:36:32 -0400 Subject: [PATCH] Redirection --- logout.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/logout.php b/logout.php index a210e21..8ee4158 100644 --- a/logout.php +++ b/logout.php @@ -32,7 +32,6 @@ if (isset($_COOKIE['remember_me_token'])) { $_SESSION = []; session_destroy(); -header('Content-Type: application/json'); -echo json_encode(["success" => "Logged out"]); +header("Location: index.html"); exit; ?> \ No newline at end of file