diff options
Diffstat (limited to 'apps/dav/lib/Server.php')
-rw-r--r-- | apps/dav/lib/Server.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dav/lib/Server.php b/apps/dav/lib/Server.php index 809b804796d..9eeaf52229d 100644 --- a/apps/dav/lib/Server.php +++ b/apps/dav/lib/Server.php @@ -38,6 +38,7 @@ namespace OCA\DAV; use OCA\DAV\AppInfo\PluginManager; use OCA\DAV\BulkUpload\BulkUploadPlugin; use OCA\DAV\CalDAV\BirthdayService; +use OCA\DAV\CalDAV\Security\RateLimitingPlugin; use OCA\DAV\CardDAV\HasPhotoPlugin; use OCA\DAV\CardDAV\ImageExportPlugin; use OCA\DAV\CardDAV\MultiGetExportPlugin; @@ -192,6 +193,8 @@ class Server { \OC::$server->getConfig(), \OC::$server->getURLGenerator() )); + + $this->server->addPlugin(\OCP\Server::get(RateLimitingPlugin::class)); } // addressbook plugins |