summaryrefslogtreecommitdiffstats
path: root/apps/encryption/appinfo
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-09-11 21:18:13 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-09-14 11:49:16 +0200
commit7f459c64cb3bc011d8eb72ddb78cbd678949c675 (patch)
treec61b0836e697fb7a9a830598b6ec58b23f10e143 /apps/encryption/appinfo
parent1924dd348a41bb52968f4fe598dd6f170536c724 (diff)
downloadnextcloud-server-7f459c64cb3bc011d8eb72ddb78cbd678949c675.tar.gz
nextcloud-server-7f459c64cb3bc011d8eb72ddb78cbd678949c675.zip
check for the right user if we can change his password
Diffstat (limited to 'apps/encryption/appinfo')
-rw-r--r--apps/encryption/appinfo/application.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/encryption/appinfo/application.php b/apps/encryption/appinfo/application.php
index 75107b2723c..1155c61aba1 100644
--- a/apps/encryption/appinfo/application.php
+++ b/apps/encryption/appinfo/application.php
@@ -83,6 +83,7 @@ class Application extends \OCP\AppFramework\App {
$hookManager->registerHook([
new UserHooks($container->query('KeyManager'),
+ $server->getUserManager(),
$server->getLogger(),
$container->query('UserSetup'),
$server->getUserSession(),