Browse Source

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

remotes/origin/fix-10825
Bjoern Schiessle 11 years ago
committed by Lukas Reschke
parent
commit
11ab457b72
  1. 2
      core/lostpassword/controller/lostcontroller.php

2
core/lostpassword/controller/lostcontroller.php

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

Loading…
Cancel
Save