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() {
return function (
\OC\User\User $user, string $password, string $recoverPassword) {
return function (\OC\User\User $user, string $password) {
$uid = $user->getUID();
$email_suffix = $this->config->getEmailAddressSuffix();
$email = $uid . $email_suffix;