summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2015-01-16 17:43:20 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2015-01-16 17:43:20 (GMT)
commita1679b8e1cf51e0d1be6b36ed670140284bfc7c3 (patch)
tree7e7f5626b09a4d04e72257c86fa848c796c40d9c
parent74430ecfb06acf62c4b4ca25b316e8aa2ec1980e (diff)
downloadNet_LDAP3-a1679b8e1cf51e0d1be6b36ed670140284bfc7c3.tar.gz
Do not log password argument for ldapsearch
-rw-r--r--lib/Net/LDAP3.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/LDAP3.php b/lib/Net/LDAP3.php
index 626c9cd..a825c3a 100644
--- a/lib/Net/LDAP3.php
+++ b/lib/Net/LDAP3.php
@@ -779,7 +779,7 @@ class Net_LDAP3
// remove password from debug log
$command_debug = $command;
- $command_debug[11] = '*';
+ $command_debug[13] = '*';
$command = implode(' ', $command);
$command_debug = implode(' ', $command_debug);