diff options
author | alecpl <alec@alec.pl> | 2009-01-19 08:38:14 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-01-19 08:38:14 +0000 |
commit | 0129d7c914f4d9247a7e8bb5ff5f655cfa98de1f (patch) | |
tree | 3c4312ce61c426a45737ee7c20d271b205cf7b85 /index.php | |
parent | 478c7c63d8487cf33fa160fade161625176c93d3 (diff) |
- Fix authentication when submitting form with existing session (#1485679)
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |