diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-03-08 08:48:47 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-03-08 08:48:47 +0000 |
| commit | 4cad73404a229f313dea97d35a9f91ee691b7f63 (patch) | |
| tree | 8453b0711a7fc212263c82463745d77820c0279f | |
| parent | 9e0c98908e202af91c92bb8694ce80d4a57b7379 (diff) | |
- small code cleanup
git-svn-id: https://svn.roundcube.net/trunk@4600 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/index.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php index 6ebc48e3d..440a245c5 100644 --- a/roundcubemail/index.php +++ b/roundcubemail/index.php @@ -95,11 +95,11 @@ if ($RCMAIL->task == 'login' && $RCMAIL->action == 'login') { } else if ($auth['valid'] && !$auth['abort'] && !empty($auth['host']) && !empty($auth['user']) && - $RCMAIL->login($auth['user'], $auth['pass'], $auth['host'])) { - // create new session ID - $RCMAIL->session->remove('temp'); - // regenerate the session, don't destroy the current session + $RCMAIL->login($auth['user'], $auth['pass'], $auth['host']) + ) { + // create new session ID, don't destroy the current session // it was destroyed already by $RCMAIL->kill_session() above + $RCMAIL->session->remove('temp'); $RCMAIL->session->regenerate_id(false); // send auth cookie if necessary |
