Thomas Bruederli
2013-10-21 b461a2d72ea1fa2f7488710e5c5329848adf43fd
index.php
@@ -138,7 +138,7 @@
  }
  else {
    if (!$auth['valid']) {
      $error_code  = RCMAIL::ERROR_INVALID_REQUEST;
      $error_code = RCMAIL::ERROR_INVALID_REQUEST;
    }
    else {
      $error_code = $auth['error'] ? $auth['error'] : $RCMAIL->login_error();
@@ -152,6 +152,9 @@
    );
    $error_message = $error_labels[$error_code] ? $error_labels[$error_code] : 'loginfailed';
    // log failed login
    $RCMAIL->log_login($auth['user'], true, $error_code);
    $OUTPUT->show_message($error_message, 'warning');
    $RCMAIL->plugins->exec_hook('login_failed', array(
@@ -291,7 +294,7 @@
}
if ($RCMAIL->action == 'refresh') {
  $RCMAIL->plugins->exec_hook('refresh', array());
  $RCMAIL->plugins->exec_hook('refresh', array('last' => intval(rcube_utils::get_input_value('_last', rcube_utils::INPUT_GPC))));
}
// parse main template (default)