From 0927d9e681d4e0120b15dadd3893cba60ef678e7 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Wed, 20 Jul 2011 14:48:17 -0700 Subject: Moderators can now delete live posts. Accessing the moderate post page redirects to login if needed. --- htdocs/moderate/login.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'htdocs/moderate/login.php') 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 = "
Invalid Username/Password
"; -- cgit v1.2.3