From 3d3e9755191c2bdd84211b3741e22a05ad8d2277 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sat, 22 Dec 2018 21:07:52 -0700 Subject: [PATCH] Fix logout redirect --- action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.php b/action.php index 2ae31a8..95677db 100644 --- a/action.php +++ b/action.php @@ -35,7 +35,7 @@ switch ($VARS['action']) { case "signout": Log::insert(LogType::LOGOUT, $_SESSION['uid']); session_destroy(); - header('Location: index.php'); + header('Location: index.php?logout=1'); die("Logged out."); case "chpasswd": engageRateLimit();