summaryrefslogtreecommitdiffstats
path: root/core/lostpassword
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-10-29 12:44:15 +0100
committerLukas Reschke <lukas@owncloud.com>2014-11-17 17:50:19 +0100
commit11ab457b7204b68d41337794ab16b71031dd592f (patch)
tree2c9dedde439e347f3477fbffa5199fde5faa7e20 /core/lostpassword
parent357465eac9733530c8e78ff0d5e1abca04ac93db (diff)
downloadnextcloud-server-11ab457b7204b68d41337794ab16b71031dd592f.tar.gz
nextcloud-server-11ab457b7204b68d41337794ab16b71031dd592f.zip
add password as parameter to the signal so that the encryption can create a new key-pair
Diffstat (limited to 'core/lostpassword')
-rw-r--r--core/lostpassword/controller/lostcontroller.php2
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();