Make sure to use the right appdata directory

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2017-02-08 16:33:58 +01:00
parent 7c47f822a1
commit efdc51c155
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 7 additions and 0 deletions

View File

@ -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