diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-12 21:46:25 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-13 11:23:08 +0200 |
commit | 6a1f2ac0764cec5ceaeedc51bfe93ad6a81f0071 (patch) | |
tree | 6d4f17b078b10c5c11f07a83fd84311a03bc1ea8 /lib/private/Server.php | |
parent | 598835b06fdd12a46253a44729eb602bc170b76b (diff) | |
download | nextcloud-server-6a1f2ac0764cec5ceaeedc51bfe93ad6a81f0071.tar.gz nextcloud-server-6a1f2ac0764cec5ceaeedc51bfe93ad6a81f0071.zip |
Add bruteforce capabilities
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r-- | lib/private/Server.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index f8fd63a9d5d..be432c0cf28 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -836,6 +836,9 @@ class Server extends ServerContainer implements IServerContainer { $manager->registerCapability(function () use ($c) { return new \OC\OCS\CoreCapabilities($c->getConfig()); }); + $manager->registerCapability(function () use ($c) { + return $c->query(\OC\Security\Bruteforce\Capabilities::class); + }); return $manager; }); $this->registerAlias('CapabilitiesManager', \OC\CapabilitiesManager::class); |