diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-09-17 10:28:36 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-09-17 10:28:36 +0000 |
| commit | c538fb52b00d42e7666bc213a3572dfffe23a616 (patch) | |
| tree | 8cd4fdb7cbb66c621836874207bb6f3478c218ab | |
| parent | e3c8f42f788ab48ec500c436d99b56878ad2ff0f (diff) | |
- Don't log errors about empty password when connecting to IMAP server (#1487001)
git-svn-id: https://svn.roundcube.net/trunk@3972 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/include/rcube_imap.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/roundcubemail/program/include/rcube_imap.php b/roundcubemail/program/include/rcube_imap.php index 043d902bc..3d9253975 100644 --- a/roundcubemail/program/include/rcube_imap.php +++ b/roundcubemail/program/include/rcube_imap.php @@ -138,9 +138,10 @@ class rcube_imap // write error log else if ($this->conn->error) { $this->error_code = $this->conn->errornum; - raise_error(array('code' => 403, 'type' => 'imap', - 'file' => __FILE__, 'line' => __LINE__, - 'message' => $this->conn->error), true, false); + if ($pass && $user) + raise_error(array('code' => 403, 'type' => 'imap', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => $this->conn->error), true, false); } return false; |
