From a8425b182c3a8bda54a0c940b4163ce454c4c3f8 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 5 Oct 2010 21:32:45 +0000 Subject: [PATCH] - web: fix login bug svn path=/trunk/boinc/; revision=22447 --- checkin_notes | 6 ++++++ html/user/login_action.php | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/checkin_notes b/checkin_notes index 0dcc8c66de..ef07556fe5 100644 --- a/checkin_notes +++ b/checkin_notes @@ -7073,3 +7073,9 @@ David 5 Oct 2010 lib/ coproc.cpp + +David 5 Oct 2010 + - web: fix login bug + + html/user/ + login_action.php diff --git a/html/user/login_action.php b/html/user/login_action.php index 181e1d4541..1c9423743c 100644 --- a/html/user/login_action.php +++ b/html/user/login_action.php @@ -114,9 +114,7 @@ if (!$user) { "; page_tail(); } else { - $x = URL_BASE."$next_url"; - echo $x; exit; - Header("Location: $x"); + Header("Location: $next_url"); $perm = $_POST['stay_logged_in']; send_cookie('auth', $authenticator, $perm); }