Browse Source

Remove the redirect.

FusionPBX 4 years ago
parent
commit
143e65968d
1 changed files with 0 additions and 9 deletions
  1. 0 9
      resources/check_auth.php

+ 0 - 9
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