summaryrefslogtreecommitdiff
path: root/htdocs/moderate/login.php
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/moderate/login.php')
-rw-r--r--htdocs/moderate/login.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/htdocs/moderate/login.php b/htdocs/moderate/login.php
index 92cddc1..038ce44 100644
--- a/htdocs/moderate/login.php
+++ b/htdocs/moderate/login.php
@@ -13,7 +13,8 @@ if (isset($_POST['login_email']) and isset($_POST['login_password'])) {
if ($user and $user->authenticate($_POST['login_password'])) {
$_SESSION['currentUser'] = $user;
- header('Location: index.php');
+
+ header("Location: index.php");
} else {
$error = "<div class=\"error\">Invalid Username/Password</div>";