From 11ab457b7204b68d41337794ab16b71031dd592f Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Wed, 29 Oct 2014 12:44:15 +0100 Subject: [PATCH] add password as parameter to the signal so that the encryption can create a new key-pair --- core/lostpassword/controller/lostcontroller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();