diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-08-25 22:27:10 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-08-25 22:27:10 +0200 |
commit | ca12ce4674019fe7ef2f8d4a8ee8eac24ca9a5a0 (patch) | |
tree | 95419de8eaaa9e952e989563915a8e6eab9d6a95 | |
parent | f3d20849968e2930a311df7b592dd5009b153ac9 (diff) | |
download | rpg-ca12ce4674019fe7ef2f8d4a8ee8eac24ca9a5a0.tar.gz rpg-ca12ce4674019fe7ef2f8d4a8ee8eac24ca9a5a0.tar.bz2 |
return show action in act_auth for logged in users and 'login' action
This triggers the new redirect event for logins as well.
darcs-hash:20080825202710-7ad00-b8cc40d7a74fd093bd79c5d7d88302c63ea9ef3d.gz
-rw-r--r-- | inc/actions.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/actions.php b/inc/actions.php index 529a031b3..59cdd2415 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -353,8 +353,7 @@ function act_auth($act){ //already logged in? if($_SERVER['REMOTE_USER'] && $act=='login'){ - header("Location: ".wl($ID,'',true)); - exit; + return 'show'; } //handle logout |