summaryrefslogtreecommitdiff
path: root/inc/actions.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2008-08-25 22:27:10 +0200
committerAndreas Gohr <andi@splitbrain.org>2008-08-25 22:27:10 +0200
commitca12ce4674019fe7ef2f8d4a8ee8eac24ca9a5a0 (patch)
tree95419de8eaaa9e952e989563915a8e6eab9d6a95 /inc/actions.php
parentf3d20849968e2930a311df7b592dd5009b153ac9 (diff)
downloadrpg-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
Diffstat (limited to 'inc/actions.php')
-rw-r--r--inc/actions.php3
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