From f9ac6937b87c8aa321a976363aa91cb3ea91a959 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Tue, 10 Oct 2017 12:34:25 -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 61440b9..835fbf5 100644 --- a/action.php +++ b/action.php @@ -8,7 +8,9 @@ require_once __DIR__ . "/required.php"; require_once __DIR__ . "/lib/login.php"; require_once __DIR__ . "/lib/userinfo.php"; -dieifnotloggedin(); +if ($VARS['action'] !== "signout") { + dieifnotloggedin(); +} /** * Redirects back to the page ID in $_POST/$_GET['source'] with the given message ID.