add password as parameter to the signal so that the encryption can create a new key-pair
This commit is contained in:
parent
357465eac9
commit
11ab457b72
|
@ -156,7 +156,7 @@ class LostController extends Controller {
|
||||||
throw new \Exception();
|
throw new \Exception();
|
||||||
}
|
}
|
||||||
|
|
||||||
\OC_Hook::emit('\OC\Core\LostPassword\Controller\LostController', 'post_passwordReset', array($userId));
|
\OC_Hook::emit('\OC\Core\LostPassword\Controller\LostController', 'post_passwordReset', array('uid' => $userId, 'password' => $password));
|
||||||
|
|
||||||
$this->config->deleteUserValue($userId, 'owncloud', 'lostpassword');
|
$this->config->deleteUserValue($userId, 'owncloud', 'lostpassword');
|
||||||
@\OC_User::unsetMagicInCookie();
|
@\OC_User::unsetMagicInCookie();
|
||||||
|
|
Loading…
Reference in New Issue