From 016c71d30de7a246874e3483320e411ab1c7b244 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sat, 22 Dec 2018 22:38:50 -0700 Subject: [PATCH] Fix index.php not redirecting to app.php when already logged in --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 8f3b4b9..e4cafd8 100644 --- a/index.php +++ b/index.php @@ -10,6 +10,7 @@ require_once __DIR__ . "/required.php"; // if we're logged in, we don't need to be here. if (!empty($_SESSION['loggedin']) && $_SESSION['loggedin'] === true && !isset($_GET['permissionerror'])) { header('Location: app.php'); + die(); } if (!empty($_GET['logout'])) {