diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-10-29 14:44:15 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-11-17 19:50:19 +0300 |
commit | 11ab457b7204b68d41337794ab16b71031dd592f (patch) | |
tree | 2c9dedde439e347f3477fbffa5199fde5faa7e20 /core | |
parent | 357465eac9733530c8e78ff0d5e1abca04ac93db (diff) |
add password as parameter to the signal so that the encryption can create a new key-pair
Diffstat (limited to 'core')
-rw-r--r-- | core/lostpassword/controller/lostcontroller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lostpassword/controller/lostcontroller.php b/core/lostpassword/controller/lostcontroller.php index 0a78063cc34..aee4001ed37 100644 --- a/core/lostpassword/controller/lostcontroller.php +++ b/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(); |