Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

- small code cleanup

  • Loading branch information...
commit 4cfe66f42fe90fed6e785d58403ff25b2267dc4d 1 parent c294eaa
Aleksander Machniak alecpl authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 index.php
8 index.php
@@ -95,11 +95,11 @@
95 95 }
96 96 else if ($auth['valid'] && !$auth['abort'] &&
97 97 !empty($auth['host']) && !empty($auth['user']) &&
98   - $RCMAIL->login($auth['user'], $auth['pass'], $auth['host'])) {
99   - // create new session ID
100   - $RCMAIL->session->remove('temp');
101   - // regenerate the session, don't destroy the current session
  98 + $RCMAIL->login($auth['user'], $auth['pass'], $auth['host'])
  99 + ) {
  100 + // create new session ID, don't destroy the current session
102 101 // it was destroyed already by $RCMAIL->kill_session() above
  102 + $RCMAIL->session->remove('temp');
103 103 $RCMAIL->session->regenerate_id(false);
104 104
105 105 // send auth cookie if necessary

0 comments on commit 4cfe66f

Please sign in to comment.
Something went wrong with that request. Please try again.