- 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,6 +138,7 @@ 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;
if ($pass && $user)
raise_error(array('code' => 403, 'type' => 'imap', raise_error(array('code' => 403, 'type' => 'imap',
'file' => __FILE__, 'line' => __LINE__, 'file' => __FILE__, 'line' => __LINE__,
'message' => $this->conn->error), true, false); 'message' => $this->conn->error), true, false);

Loading…
Cancel
Save