Fixed redirect
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
$_SESSION['loggedInUser'] = $_POST['login_username'];
|
||||
unset($_SESSION['loginError']);
|
||||
// Move onto landing page
|
||||
header('Location: /messages.php');
|
||||
header('Location: /messagesInbox.php');
|
||||
}else{
|
||||
// No matching users found, send user an error message
|
||||
$_SESSION['loginError'] = 'Invalid Username or Password';
|
||||
|
||||
Reference in New Issue
Block a user