FusionPBX 1 год назад
Родитель
Сommit
a60fac9ca8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      resources/check_auth.php

+ 1 - 1
resources/check_auth.php

@@ -78,7 +78,7 @@
 //validate the session address
 //validate the session address
 	if ($_SESSION['authorized'] && $_SESSION["user_hash"] !== hash('sha256', $_SERVER['REMOTE_ADDR'].$_SERVER['HTTP_USER_AGENT'])) {
 	if ($_SESSION['authorized'] && $_SESSION["user_hash"] !== hash('sha256', $_SERVER['REMOTE_ADDR'].$_SERVER['HTTP_USER_AGENT'])) {
 		session_destroy();
 		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
 //if the session is not authorized then verify the identity