summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-02-19 18:04:04 +0100
committerThomas Bruederli <thomas@roundcube.net>2014-05-12 09:00:20 +0200
commit0b70f509fc3f8cdf15c8887d534d85a015851cf2 (patch)
treee0cbf486875007c31ceb5bc4d7056c069d1a3fac
parent0d9ccfd8f76170adfeaa104668fce0e0b4f66a33 (diff)
Declare LOGIN commands to be anonymized in debug logging
-rw-r--r--program/lib/Roundcube/rcube_imap_generic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_imap_generic.php b/program/lib/Roundcube/rcube_imap_generic.php
index 9035840a8..4cb61e95d 100644
--- a/program/lib/Roundcube/rcube_imap_generic.php
+++ b/program/lib/Roundcube/rcube_imap_generic.php
@@ -633,7 +633,7 @@ class rcube_imap_generic
function login($user, $password)
{
list($code, $response) = $this->execute('LOGIN', array(
- $this->escape($user), $this->escape($password)), self::COMMAND_CAPABILITY);
+ $this->escape($user), $this->escape($password)), self::COMMAND_CAPABILITY | self::COMMAND_ANONYMIZED);
// re-set capabilities list if untagged CAPABILITY response provided
if (preg_match('/\* CAPABILITY (.+)/i', $response, $matches)) {