Explorar o código

Login: Nevermind. Simplify login.php even further.

fusionate %!s(int64=2) %!d(string=hai) anos
pai
achega
0cb304fa2a
Modificáronse 1 ficheiros con 0 adicións e 8 borrados
  1. 0 8
      login.php

+ 0 - 8
login.php

@@ -29,12 +29,4 @@
 //additional includes
 	require_once "resources/check_auth.php";
 
-//redirect
-	if (isset($_SESSION['login']['destination']['text'])) {
-		header("Location: ".$_SESSION['login']['destination']['text']);
-	}
-	else {
-		header("Location: ".PROJECT_PATH."/core/dashboard/");
-	}
-
 ?>