Browse Source

Skip redirect and prompt for login

FusionPBX 2 years ago
parent
commit
a55fb08945
1 changed files with 2 additions and 1 deletions
  1. 2 1
      index.php

+ 2 - 1
index.php

@@ -62,7 +62,8 @@
 			require_once "themes/".$_SESSION['domain']['template']['name']."/index.php";
 		}
 		else {
-			header("Location: ".PROJECT_PATH."/core/dashboard/");
+			//login prompt
+			require_once "resources/check_auth.php";
 		}
 	}