diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-02-03 15:34:55 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-02-03 15:34:55 +0100 |
commit | 774deaded1bc782b6a2670720e0fde3c7df7cde4 (patch) | |
tree | a7cc8e01e82021040cea74766d7eccc48e148680 /program/lib/Roundcube/rcube_ldap_generic.php | |
parent | 03f1691d4797267513fb29019bdd96ca28a899a9 (diff) |
Don't EVER log passwords
Diffstat (limited to 'program/lib/Roundcube/rcube_ldap_generic.php')
-rw-r--r-- | program/lib/Roundcube/rcube_ldap_generic.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_ldap_generic.php b/program/lib/Roundcube/rcube_ldap_generic.php index 923a12a41..b85afe4ce 100644 --- a/program/lib/Roundcube/rcube_ldap_generic.php +++ b/program/lib/Roundcube/rcube_ldap_generic.php @@ -240,7 +240,7 @@ class rcube_ldap_generic $method = 'DIGEST-MD5'; } - $this->_debug("C: SASL Bind [mech: $method, authc: $authc, authz: $authz, pass: $pass]"); + $this->_debug("C: SASL Bind [mech: $method, authc: $authc, authz: $authz, pass: **** [" . strlen($pass) . "]"); if (ldap_sasl_bind($this->conn, NULL, $pass, $method, NULL, $authc, $authz)) { $this->_debug("S: OK"); @@ -271,7 +271,7 @@ class rcube_ldap_generic return false; } - $this->_debug("C: Bind $dn [pass: $pass]"); + $this->_debug("C: Bind $dn, pass: **** [" . strlen($pass) . "]"); if (@ldap_bind($this->conn, $dn, $pass)) { $this->_debug("S: OK"); |