From 62a61f451b647bb20bfe63d67735a0034495206a Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 21 Jun 2023 12:07:08 -0600 Subject: [PATCH] Change login destination type url to text --- resources/check_auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/check_auth.php b/resources/check_auth.php index b7d038838e..b77be242df 100644 --- a/resources/check_auth.php +++ b/resources/check_auth.php @@ -84,8 +84,8 @@ } header("Location: ".$redirect_path); } - elseif (isset($_SESSION['login']['destination']['url'])) { - header("Location: ".$_SESSION['login']['destination']['url']); + elseif (isset($_SESSION['login']['destination']['text'])) { + header("Location: ".$_SESSION['login']['destination']['text']); } elseif (file_exists($_SERVER["PROJECT_ROOT"]."/core/dashboard/app_config.php")) { header("Location: ".PROJECT_PATH."/core/dashboard/");