diff options
author | Guy Brand <gb@isis.u-strasbg.fr> | 2007-05-16 11:19:09 +0200 |
---|---|---|
committer | Guy Brand <gb@isis.u-strasbg.fr> | 2007-05-16 11:19:09 +0200 |
commit | 2288dc06de4193e0c6aa06b1527be56b677e57c2 (patch) | |
tree | 77fa217ad24b9968f20a2521a91de71064b8132f | |
parent | 42a2974e5c0ce173f492c248f74393c729eb2bfc (diff) | |
download | rpg-2288dc06de4193e0c6aa06b1527be56b677e57c2.tar.gz rpg-2288dc06de4193e0c6aa06b1527be56b677e57c2.tar.bz2 |
Redirect after login and populate breadcrumbs (FS#1063)
darcs-hash:20070516091909-19e2d-0e9379e79c11ebf090634fd6062ddc072b8ac7a2.gz
-rw-r--r-- | inc/actions.php | 6 |
1 files 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'){ |