diff options
author | Joas Schilling <coding@schilljs.com> | 2017-02-08 16:33:58 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-02-09 15:03:00 +0100 |
commit | efdc51c155c71ca65ba3f41f36a8a6961480b7e6 (patch) | |
tree | e63c89f8ece2efe12832ee8e62c50636720bb3de /lib/private/AppFramework | |
parent | 7c47f822a14caf91b5203be0053ddcdac40e9992 (diff) | |
download | nextcloud-server-efdc51c155c71ca65ba3f41f36a8a6961480b7e6.tar.gz nextcloud-server-efdc51c155c71ca65ba3f41f36a8a6961480b7e6.zip |
Make sure to use the right appdata directory
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r-- | lib/private/AppFramework/DependencyInjection/DIContainer.php | 7 |
1 files changed, 7 insertions, 0 deletions
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 |