mirror of https://github.com/BOINC/boinc.git
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
This commit is contained in:
parent
e381a62c69
commit
5960be72b3
|
@ -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']);
|
||||
|
|
Loading…
Reference in New Issue