From 73fd96ebd21b0c80873d20e2fc4e148306254beb Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Oct 2020 04:05:54 -0600 Subject: [PATCH] Update check_auth.php Remove $_SESSION['context'] found a better way. --- resources/check_auth.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/check_auth.php b/resources/check_auth.php index f792229104..44eb209d0b 100644 --- a/resources/check_auth.php +++ b/resources/check_auth.php @@ -74,7 +74,7 @@ if ($result["authorized"] === "true") { //set the session variables $_SESSION["domain_uuid"] = $result["domain_uuid"]; - $_SESSION["domain_name"] = $result["domain_name"]; + //$_SESSION["domain_name"] = $result["domain_name"]; $_SESSION["user_uuid"] = $result["user_uuid"]; //user session array @@ -250,7 +250,6 @@ //set the context $_SESSION['user']['user_context'] = $row["user_context"]; $_SESSION['user_context'] = $row["user_context"]; - $_SESSION['context'] = $_SESSION["domain_name"]; } } unset($sql, $parameters, $result, $row);