auto forward on successfull login
This commit is contained in:
		@@ -16,7 +16,7 @@ if(isset($_GET['login'])) {
 | 
			
		||||
        $_SESSION['username'] = $user['username'];
 | 
			
		||||
        $_SESSION['givenName'] = $user['givenName'];
 | 
			
		||||
        $_SESSION['lastName'] = $user['lastName'];
 | 
			
		||||
        die('successfull. go to: <a href="secure.php">secure page</a>');
 | 
			
		||||
        die('successfull. go to: <a href="secure.php">secure page</a><meta http-equiv="refresh" content="0; URL=secure.php">');
 | 
			
		||||
    } else {
 | 
			
		||||
        $errorMessage = "somethings wrong (maybe wrong password or wrong user)<br>";
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user