Sfoglia il codice sorgente

fix: add ldap_exop_passwd function to sensitive value

Signed-off-by: yemkareems <yemkareems@gmail.com>
pull/45357/head
yemkareems 1 mese fa
parent
commit
7c91ab1b09
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      apps/user_ldap/lib/LDAP.php

+ 1
- 1
apps/user_ldap/lib/LDAP.php Vedi File

@@ -319,7 +319,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…
Annulla
Salva