diff options
author | thomascube <thomas@roundcube.net> | 2011-07-30 15:38:29 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-07-30 15:38:29 +0000 |
commit | 94c0743cbac1e48dd243851f37172a29b6b93c6b (patch) | |
tree | 929ec40ef8528dd0cabfc8ded34387ea1bcbc3d8 | |
parent | fcc7f861b170596c6970aecb1ddc87a3567b112f (diff) |
Don't show session error message on logout
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,7 @@ else if ($RCMAIL->task != 'login' && $_SESSION['user_id'] && $RCMAIL->action != // not logged in -> show login page if (empty($RCMAIL->user->ID)) { // log session failures - if ($RCMAIL->task != 'login' && !$session_error && ($sess_id = $_COOKIE[ini_get('session.name')])) { + if ($RCMAIL->task != 'login' && $RCMAIL->task != 'logout' && !$session_error && ($sess_id = $_COOKIE[ini_get('session.name')])) { $RCMAIL->session->log("Aborted session " . $sess_id . "; no valid session data found"); $session_error = true; } |