add password as parameter to the signal so that the encryption can create a new key-pair

This commit is contained in:
Bjoern Schiessle 2014-10-29 12:44:15 +01:00 committed by Lukas Reschke
parent 357465eac9
commit 11ab457b72
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ class LostController extends Controller {
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');
@\OC_User::unsetMagicInCookie();