From efdc51c155c71ca65ba3f41f36a8a6961480b7e6 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 8 Feb 2017 16:33:58 +0100 Subject: Make sure to use the right appdata directory Signed-off-by: Joas Schilling --- lib/private/AppFramework/DependencyInjection/DIContainer.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/private/AppFramework') diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php index 0879b3e9330..5a350bbec5a 100644 --- a/lib/private/AppFramework/DependencyInjection/DIContainer.php +++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php @@ -342,6 +342,13 @@ class DIContainer extends SimpleContainer implements IAppContainer { return $c->query(Validator::class); }); + $this->registerService(\OC\Security\IdentityProof\Manager::class, function ($c) { + return new \OC\Security\IdentityProof\Manager( + $this->getServer()->getAppDataDir('identityproof'), + $this->getServer()->getCrypto() + ); + }); + /** * App Framework APIs -- cgit v1.2.3