Skip to content

Commit

Permalink
- Fix authentication when submitting form with existing session (#148…
Browse files Browse the repository at this point in the history
…5679)
  • Loading branch information
alecpl committed Jan 19, 2009
1 parent 478c7c6 commit 0129d7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -5,6 +5,7 @@ CHANGELOG RoundCube Webmail
---------- ----------
- Fix problems with backslash as IMAP hierarchy delimiter (#1484467) - Fix problems with backslash as IMAP hierarchy delimiter (#1484467)
- Secure vcard export by getting rid of preg's 'e' modifier use (#1485689) - 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) 2009/01/15 (alec)
---------- ----------
Expand Down
4 changes: 4 additions & 0 deletions index.php
Expand Up @@ -72,6 +72,10 @@


// try to log in // try to log in
if ($RCMAIL->action=='login' && $RCMAIL->task=='mail') { 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(); $host = $RCMAIL->autoselect_host();


// check if client supports cookies // check if client supports cookies
Expand Down

0 comments on commit 0129d7c

Please sign in to comment.