From c9e44dca4b19ba9847a42d32a34d57813e16b73d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 31 Jul 2021 22:21:31 -0600 Subject: [PATCH] Remove the redirect. --- resources/check_auth.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/resources/check_auth.php b/resources/check_auth.php index f9591a9592..9cfc096a33 100644 --- a/resources/check_auth.php +++ b/resources/check_auth.php @@ -294,15 +294,6 @@ unset($sql, $parameters, $result, $row); } } - - //redirect the user - if (check_str($_REQUEST["rdr"]) !== 'n'){ - $path = check_str($_POST["path"]); - if (isset($path) && !empty($path) && $path!="index2.php" && $path!="/install.php") { - header("Location: ".$path); - exit(); - } - } } //set the time zone