From f09e4f69d07409ba5a20fc48194d96e599746538 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 bc1a179d03b..8f2372f45f3 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, + /** * Whether the authtoken v1 provider should be skipped *