diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-02-03 15:34:55 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-05-12 09:00:13 +0200 |
commit | 0d9ccfd8f76170adfeaa104668fce0e0b4f66a33 (patch) | |
tree | 59df04bd56b7cc3928e769cf7f4abe08bc9ccd6f /program/lib/Roundcube/rcube_ldap_generic.php | |
parent | c94971bc6fe68c777cc066f51a7d88cc1149813f (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"); |