summaryrefslogtreecommitdiffstats
path: root/config/config.sample.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-04-03 15:43:22 +0200
committerJoas Schilling <coding@schilljs.com>2023-04-03 15:43:22 +0200
commitebd8e7c2ef56796ba9b14b82b0972aa8a4a706bb (patch)
tree2cf3d9f0d470ea892218b1c9400dbfc86df3b6d9 /config/config.sample.php
parent4b62137a17ae2b2bb89e14c56506e788ed535436 (diff)
downloadnextcloud-server-ebd8e7c2ef56796ba9b14b82b0972aa8a4a706bb.tar.gz
nextcloud-server-ebd8e7c2ef56796ba9b14b82b0972aa8a4a706bb.zip
fix(backport): Add missing sample config
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'config/config.sample.php')
-rw-r--r--config/config.sample.php9
1 files changed, 9 insertions, 0 deletions
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
@@ -315,6 +315,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
*/
'auth.webauthn.enabled' => true,