From 5eb536d971d18944124d70215f306309c8994a76 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Tue, 10 Oct 2017 12:32:51 -0600 Subject: [PATCH] Fix Business/CommonBugs#1 (expired session logout error) --- action.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/action.php b/action.php index 7d4a695..9599709 100644 --- a/action.php +++ b/action.php @@ -6,7 +6,9 @@ require_once __DIR__ . "/required.php"; require_once __DIR__ . "/lib/login.php"; -dieifnotloggedin(); +if ($VARS['action'] !== "signout") { + dieifnotloggedin(); +} if (account_has_permission($_SESSION['username'], "QWIKCLOCK") == FALSE) { die("You don't have permission to be here.");