From 5960be72b3c10128ba20e804c081c00f2345708d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 24 Jul 2003 22:57:41 +0000 Subject: [PATCH] Fixed login issue- logging now now brings you directly back to what you were doing before you were asked. svn path=/trunk/boinc/; revision=1793 --- html/forum/post.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/html/forum/post.php b/html/forum/post.php index dea7dc9c0a..65f56e52fe 100644 --- a/html/forum/post.php +++ b/html/forum/post.php @@ -20,9 +20,11 @@ if (!empty($_GET['id']) && !empty($_POST['title']) && !empty($_POST['content'])) header('Location: thread.php?id='.$thread->id); } -if (empty($_SESSION['authenticator'])) - header('Location: ../login_form.php'); +if (empty($_SESSION['authenticator'])) { + get_logged_in_user(true, '../'); + +} doHeader('Forum'); $forum = getForum($_GET['id']);