mirror of
https://github.com/nextcloud/server.git
synced 2026-06-06 23:34:22 -04:00
fix: add ldap_exop_passwd function to sensitive value
Signed-off-by: yemkareems <yemkareems@gmail.com>
This commit is contained in:
parent
ea82b23b32
commit
8f24109572
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ class LDAP implements ILDAPWrapper {
|
|||
|
||||
private function preFunctionCall(string $functionName, array $args): void {
|
||||
$this->curArgs = $args;
|
||||
if(strcasecmp($functionName, 'ldap_bind') === 0) {
|
||||
if(strcasecmp($functionName, 'ldap_bind') === 0 || strcasecmp($functionName, 'ldap_exop_passwd') === 0) {
|
||||
// The arguments are not key value pairs
|
||||
// \OCA\User_LDAP\LDAP::bind passes 3 arguments, the 3rd being the pw
|
||||
// Remove it via direct array access for now, although a better solution could be found mebbe?
|
||||
|
|
|
|||
Loading…
Reference in a new issue