summaryrefslogtreecommitdiffstats
path: root/apps/settings
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-12-09 14:29:22 +0100
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-12-09 14:29:22 +0100
commit8f403b66d19011b1061430a9e82f1166c7bb7cd6 (patch)
tree1155ad6b521306b4e9d42b298f6ab806030b7c32 /apps/settings
parent8bc4295cfad1ba65bad3c7c06af1f4a16b9bcba5 (diff)
downloadnextcloud-server-8f403b66d19011b1061430a9e82f1166c7bb7cd6.tar.gz
nextcloud-server-8f403b66d19011b1061430a9e82f1166c7bb7cd6.zip
Fix Argument 3 passed to OCA\Encryption\Recovery::__construct() must be an instance of OCA\Encryption\KeyManager
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'apps/settings')
-rw-r--r--apps/settings/lib/Controller/ChangePasswordController.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/settings/lib/Controller/ChangePasswordController.php b/apps/settings/lib/Controller/ChangePasswordController.php
index 0eba440ae4d..c374b3ff8bf 100644
--- a/apps/settings/lib/Controller/ChangePasswordController.php
+++ b/apps/settings/lib/Controller/ChangePasswordController.php
@@ -215,10 +215,8 @@ class ChangePasswordController extends Controller {
$recovery = new \OCA\Encryption\Recovery(
\OC::$server->getUserSession(),
$crypt,
- \OC::$server->getSecureRandom(),
$keyManager,
\OC::$server->getConfig(),
- $keyStorage,
\OC::$server->getEncryptionFilesHelper(),
new \OC\Files\View());
$recoveryAdminEnabled = $recovery->isRecoveryKeyEnabled();