]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(backport): Add missing sample config 37553/head
authorJoas Schilling <coding@schilljs.com>
Mon, 3 Apr 2023 13:43:22 +0000 (15:43 +0200)
committerJoas Schilling <coding@schilljs.com>
Mon, 3 Apr 2023 13:45:46 +0000 (15:45 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
config/config.sample.php

index cd6e35aee28df757261737e198471754e48cff9b..40c8691a655e05ec77980668e7c52e8da0639173 100644 (file)
@@ -303,6 +303,15 @@ $CONFIG = [
  */
 'auth.bruteforce.protection.enabled' => true,
 
+/**
+ * Whether the rate limit protection shipped with Nextcloud should be enabled or not.
+ *
+ * Disabling this is discouraged for security reasons.
+ *
+ * Defaults to ``true``
+ */
+'ratelimit.protection.enabled' => true,
+
 /**
  * By default WebAuthn is available but it can be explicitly disabled by admins
  */