diff options
author | thomascube <thomas@roundcube.net> | 2007-10-16 09:14:33 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2007-10-16 09:14:33 +0000 |
commit | b9183e5fd4ae3c54aad3e55675dc0275ac14fe38 (patch) | |
tree | 90855baee6bb895fa985c8419ebe0606e7dd3df9 /index.php | |
parent | 6aed0849cec5b406bb05434e90b9f470084c274c (diff) |
Use common function to mark the user session as not logged in
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -173,7 +173,7 @@ if ($_action=='login' && $_task=='mail') else { $OUTPUT->show_message("loginfailed", 'warning'); - $_SESSION['user_id'] = ''; + rcmail_kill_session(); } } @@ -202,7 +202,7 @@ if (!empty($_SESSION['user_id']) && $_task=='mail') if (!$conn) { $OUTPUT->show_message('imaperror', 'error'); - $_SESSION['user_id'] = ''; + rcmail_kill_session(); } else rcmail_set_imap_prop(); |