From 0dc8c731c62047af281a7ff9176d770e449cedfb 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 cd6e35aee28..40c8691a655 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -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 */ -- 2.39.5