Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Fix authentication when submitting form with existing session (#148…

…5679)
  • Loading branch information...
commit 0129d7c914f4d9247a7e8bb5ff5f655cfa98de1f 1 parent 478c7c6
@alecpl alecpl authored
Showing with 5 additions and 0 deletions.
  1. +1 −0  CHANGELOG
  2. +4 −0 index.php
View
1  CHANGELOG
@@ -5,6 +5,7 @@ CHANGELOG RoundCube Webmail
----------
- Fix problems with backslash as IMAP hierarchy delimiter (#1484467)
- Secure vcard export by getting rid of preg's 'e' modifier use (#1485689)
+- Fix authentication when submitting form with existing session (#1485679)
2009/01/15 (alec)
----------
View
4 index.php
@@ -72,6 +72,10 @@
// 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
Please sign in to comment.
Something went wrong with that request. Please try again.