Skip to content

Commit 4e3959e

Browse files
committed
fixup! Do not log passwords in debug mode
1 parent ba84c1c commit 4e3959e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/user_ldap/lib/LDAP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ private function preFunctionCall(string $functionName, array $args): void {
322322
// \OCA\User_LDAP\LDAP::bind passes 3 arguments, the 3rd being the pw
323323
// Remove it via direct array access for now, although a better solution could be found mebbe?
324324
// @link https://github.com/nextcloud/server/issues/38461
325-
$args[2] = '***REMOVED SENSITIVE VALUE***';;
325+
$args[2] = '***REMOVED SENSITIVE VALUE***';
326326
}
327327

328328
$this->logger->debug('Calling LDAP function {func} with parameters {args}', [

0 commit comments

Comments
 (0)