diff options
Diffstat (limited to 'roundcubemail/index.php')
| -rw-r--r-- | roundcubemail/index.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php index d57c91ea9..172d57c88 100644 --- a/roundcubemail/index.php +++ b/roundcubemail/index.php @@ -72,6 +72,10 @@ if ($RCMAIL->action=='error' && !empty($_GET['_code'])) { // try to log in if ($RCMAIL->action=='login' && $RCMAIL->task=='mail') { + // purge the session in case of new login when a session already exists + $RCMAIL->kill_session(); + + // set IMAP host $host = $RCMAIL->autoselect_host(); // check if client supports cookies |
