summaryrefslogtreecommitdiffstats
path: root/settings/Controller/UsersController.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/Controller/UsersController.php')
-rw-r--r--settings/Controller/UsersController.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/settings/Controller/UsersController.php b/settings/Controller/UsersController.php
index a2da2d74669..817167837be 100644
--- a/settings/Controller/UsersController.php
+++ b/settings/Controller/UsersController.php
@@ -48,6 +48,7 @@ use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\BackgroundJob\IJobList;
+use OCP\Encryption\IManager;
use OCP\IConfig;
use OCP\IGroupManager;
use OCP\IL10N;
@@ -88,6 +89,8 @@ class UsersController extends Controller {
private $keyManager;
/** @var IJobList */
private $jobList;
+ /** @var IManager */
+ private $encryptionManager;
public function __construct(string $appName,
@@ -103,7 +106,8 @@ class UsersController extends Controller {
IAppManager $appManager,
AccountManager $accountManager,
Manager $keyManager,
- IJobList $jobList) {
+ IJobList $jobList,
+ IManager $encryptionManager) {
parent::__construct($appName, $request);
$this->userManager = $userManager;
$this->groupManager = $groupManager;
@@ -117,6 +121,7 @@ class UsersController extends Controller {
$this->accountManager = $accountManager;
$this->keyManager = $keyManager;
$this->jobList = $jobList;
+ $this->encryptionManager = $encryptionManager;
}