From dce64067911bf199e5c0620568b286651932e9c3 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 22 Jan 2024 23:45:00 -0700 Subject: [PATCH] Update check_auth.php --- resources/check_auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/check_auth.php b/resources/check_auth.php index 5232247c27..06d4ed8b92 100644 --- a/resources/check_auth.php +++ b/resources/check_auth.php @@ -78,7 +78,7 @@ //validate the session address if ($_SESSION['authorized'] && $_SESSION["user_hash"] !== hash('sha256', $_SERVER['REMOTE_ADDR'].$_SERVER['HTTP_USER_AGENT'])) { session_destroy(); - header("Location: ".PROJECT_PATH."/?path=".urlencode($target_path)); + header("Location: ".PROJECT_PATH."/logout.php"); } //if the session is not authorized then verify the identity