diff options
author | thomascube <thomas@roundcube.net> | 2011-08-24 16:20:34 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-08-24 16:20:34 +0000 |
commit | 2c67d45f22cb1b60979f92cb8670762f02c2a737 (patch) | |
tree | da4e6d762173fcf6de970e13a76769610bef2dc8 | |
parent | 33046ce911731c2f1fcde6da03d2f6105039741c (diff) |
Backport r5124 to release branch
-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 (!in_array(get_input_value('_task', RCUBE_INPUT_GPC), array('login','logout')) && !$session_error && ($sess_id = $_COOKIE[ini_get('session.name')])) { + if (($task = get_input_value('_task', RCUBE_INPUT_GPC)) && !in_array($task, array('login','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; } |