- Don't log errors about empty password when connecting to IMAP server (#1487001)

release-0.6
alecpl 14 years ago
parent 614c642a4b
commit b364912fc1

@ -138,9 +138,10 @@ class rcube_imap
// write error log // write error log
else if ($this->conn->error) { else if ($this->conn->error) {
$this->error_code = $this->conn->errornum; $this->error_code = $this->conn->errornum;
raise_error(array('code' => 403, 'type' => 'imap', if ($pass && $user)
'file' => __FILE__, 'line' => __LINE__, raise_error(array('code' => 403, 'type' => 'imap',
'message' => $this->conn->error), true, false); 'file' => __FILE__, 'line' => __LINE__,
'message' => $this->conn->error), true, false);
} }
return false; return false;

Loading…
Cancel
Save