- web: fix login bug

svn path=/trunk/boinc/; revision=22447
This commit is contained in:
David Anderson 2010-10-05 21:32:45 +00:00
parent f300ba4a74
commit a8425b182c
2 changed files with 7 additions and 3 deletions

View File

@ -7073,3 +7073,9 @@ David 5 Oct 2010
lib/
coproc.cpp
David 5 Oct 2010
- web: fix login bug
html/user/
login_action.php

View File

@ -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);
}