removing third param;

This commit is contained in:
Alexander Vassilevski 2021-02-21 18:55:23 -08:00
parent e098b4e7a3
commit 14a6f49d58

View File

@ -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;