From f22c2cefb4c7f8b1a995d5de6f706d49861c473c Mon Sep 17 00:00:00 2001 From: svncommit Date: Tue, 12 May 2009 14:10:30 +0000 Subject: Really, really logout (fixes r2467). --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 7c2d23032..721aefc7c 100644 --- a/index.php +++ b/index.php @@ -97,7 +97,7 @@ if ($RCMAIL->action=='login' && $RCMAIL->task=='mail') { else if ($_SESSION['temp'] && !empty($auth['user']) && !empty($auth['host']) && isset($auth['pass']) && $RCMAIL->login($auth['user'], $auth['pass'], $auth['host'])) { // create new session ID - unset($_SESSION['temp']); + rcube_sess_unset('temp'); rcube_sess_regenerate_id(); // send auth cookie if necessary -- cgit v1.2.3