alecpl
2011-03-08 c294eaa3f27ca5f38101eb4a1692111ac0ee82f8
index.php
@@ -98,7 +98,9 @@
        $RCMAIL->login($auth['user'], $auth['pass'], $auth['host'])) {
    // create new session ID
    $RCMAIL->session->remove('temp');
    $RCMAIL->session->regenerate_id();
    // regenerate the session, don't destroy the current session
    // it was destroyed already by $RCMAIL->kill_session() above
    $RCMAIL->session->regenerate_id(false);
    // send auth cookie if necessary
    $RCMAIL->session->set_auth_cookie();
@@ -110,7 +112,7 @@
    $query = array();
    if ($url = get_input_value('_url', RCUBE_INPUT_POST)) {
      parse_str($url, $query);
      // prevent endless looping on login page
      if ($query['_task'] == 'login')
        unset($query['_task']);