fixed double password entries for new accounts
This commit is contained in:
parent
9728ab3556
commit
d98f36cad4
|
@ -329,6 +329,8 @@ class inetOrgPerson extends baseModule {
|
||||||
// because it en/decrypted in session
|
// because it en/decrypted in session
|
||||||
if (isset($return[$_SESSION[$this->base]->dn]['modify']['userPassword']))
|
if (isset($return[$_SESSION[$this->base]->dn]['modify']['userPassword']))
|
||||||
unset($return[$_SESSION[$this->base]->dn]['modify']['userPassword']);
|
unset($return[$_SESSION[$this->base]->dn]['modify']['userPassword']);
|
||||||
|
if (isset($return[$_SESSION[$this->base]->dn]['add']['userPassword']))
|
||||||
|
unset($return[$_SESSION[$this->base]->dn]['add']['userPassword']);
|
||||||
// Return attributes
|
// Return attributes
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue