diff options
author | thomascube <thomas@roundcube.net> | 2011-03-15 22:27:01 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-03-15 22:27:01 +0000 |
commit | 32b11d325e38fa7d4a287e1e4bc95367fc4896bd (patch) | |
tree | 62afc38b60ff0358496b38d280daf2deecfa019d /index.php | |
parent | 129aeff1991a37c4877fd6bf03825e084fe821fc (diff) |
Keep session alive while showing login page (request token is stored in session data)
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -154,7 +154,9 @@ else if ($RCMAIL->task != 'login' && $_SESSION['user_id'] && $RCMAIL->action != // not logged in -> show login page if (empty($RCMAIL->user->ID)) { - if ($OUTPUT->ajax_call) + if ($RCMAIL->action == 'keep-alive') + $OUTPUT->send(); + else if ($OUTPUT->ajax_call) $OUTPUT->redirect(array(), 2000); if (!empty($_REQUEST['_framed'])) |