From 2288dc06de4193e0c6aa06b1527be56b677e57c2 Mon Sep 17 00:00:00 2001 From: Guy Brand Date: Wed, 16 May 2007 11:19:09 +0200 Subject: Redirect after login and populate breadcrumbs (FS#1063) darcs-hash:20070516091909-19e2d-0e9379e79c11ebf090634fd6062ddc072b8ac7a2.gz --- inc/actions.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/inc/actions.php b/inc/actions.php index a268811dd..d3eff18b7 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -307,8 +307,10 @@ function act_auth($act){ global $INFO; //already logged in? - if($_SERVER['REMOTE_USER'] && $act=='login') - return 'show'; + if($_SERVER['REMOTE_USER'] && $act=='login'){ + header("Location: ".wl($ID,'',true)); + exit; + } //handle logout if($act=='logout'){ -- cgit v1.2.3