From ca12ce4674019fe7ef2f8d4a8ee8eac24ca9a5a0 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 25 Aug 2008 22:27:10 +0200 Subject: 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 --- inc/actions.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'inc') 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 -- cgit v1.2.3