From ebd8e7c2ef56796ba9b14b82b0972aa8a4a706bb Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 3 Apr 2023 15:43:22 +0200 Subject: [PATCH] fix(backport): Add missing sample config Signed-off-by: Joas Schilling --- config/config.sample.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/config.sample.php b/config/config.sample.php index cb9e5b0f5a6..a5214479338 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -314,6 +314,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 */