fixed double password entries for new accounts

This commit is contained in:
Roland Gruber 2005-05-08 10:36:18 +00:00
parent 9728ab3556
commit d98f36cad4
1 changed files with 2 additions and 0 deletions

View File

@ -329,6 +329,8 @@ class inetOrgPerson extends baseModule {
// because it en/decrypted in session
if (isset($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 $return;
}