Fixed redirect
This commit is contained in:
1 parent
eb4d732e81
commit
aa5cf8b099
1 file changed
+1
-1
+1
-1
@@ -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