removing third param;
This commit is contained in:
parent
e098b4e7a3
commit
14a6f49d58
@ -62,8 +62,7 @@ class UserHooks {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
private function updateEmailPasswordCB() {
|
private function updateEmailPasswordCB() {
|
||||||
return function (
|
return function (\OC\User\User $user, string $password) {
|
||||||
\OC\User\User $user, string $password, string $recoverPassword) {
|
|
||||||
$uid = $user->getUID();
|
$uid = $user->getUID();
|
||||||
$email_suffix = $this->config->getEmailAddressSuffix();
|
$email_suffix = $this->config->getEmailAddressSuffix();
|
||||||
$email = $uid . $email_suffix;
|
$email = $uid . $email_suffix;
|
||||||
|
Loading…
Reference in New Issue
Block a user