summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-07-25 11:54:14 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-10 14:27:35 +0200
commit9524badccc6fd1e9d423f8dd8316b32ea576863b (patch)
treebc29bc207dc561d1132085d1cf547d1c0b1e60a6 /lib/private/AppFramework
parent073216e8278983abef6ac51d6e0a900f95af0024 (diff)
downloadnextcloud-server-9524badccc6fd1e9d423f8dd8316b32ea576863b.tar.gz
nextcloud-server-9524badccc6fd1e9d423f8dd8316b32ea576863b.zip
extend the identity proof manager to allow system wide key pairs
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/private/AppFramework')
-rw-r--r--lib/private/AppFramework/DependencyInjection/DIContainer.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/AppFramework/DependencyInjection/DIContainer.php b/lib/private/AppFramework/DependencyInjection/DIContainer.php
index d0c69c3bf32..78400d8082e 100644
--- a/lib/private/AppFramework/DependencyInjection/DIContainer.php
+++ b/lib/private/AppFramework/DependencyInjection/DIContainer.php
@@ -171,7 +171,8 @@ class DIContainer extends SimpleContainer implements IAppContainer {
$this->registerService(\OC\Security\IdentityProof\Manager::class, function ($c) {
return new \OC\Security\IdentityProof\Manager(
$this->getServer()->query(\OC\Files\AppData\Factory::class),
- $this->getServer()->getCrypto()
+ $this->getServer()->getCrypto(),
+ $this->getServer()->getConfig()
);
});