Visual improvements
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
$_SESSION['loggedInUser'] = $_POST['login_username'];
|
||||
unset($_SESSION['loginError']);
|
||||
// Move onto landing page
|
||||
// header('Location: /landingPage.html');
|
||||
header('Location: /messages.php');
|
||||
}else{
|
||||
// No matching users found, send user an error message
|
||||
$_SESSION['loginError'] = 'Invalid Username or Password';
|
||||
@@ -46,11 +46,10 @@
|
||||
</div>
|
||||
<h2><font color="white">Please Login</h2>
|
||||
<form action="" method="post">
|
||||
User:
|
||||
<input type="text" name="login_username" placeholder="Username"><br />
|
||||
Password:
|
||||
<input type="password" name="login_password" placeholder="Password"><br />
|
||||
<input type="submit">
|
||||
User: <input type="text" name="login_username" placeholder="Username"><br />
|
||||
Password: <input type="password" name="login_password" placeholder="Password"><br />
|
||||
<br />
|
||||
<input type="submit" class="button">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user