aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index c8ee3c301ae..23e9cb5940a 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -342,7 +342,7 @@ $CONFIG = [
/**
* The timeout in seconds for synchronizing address books, e.g. federated system address books (as run by `occ federation:sync-addressbooks`).
- *
+ *
* Defaults to ``30`` seconds
*/
'carddav_sync_request_timeout' => 30,
@@ -406,6 +406,17 @@ $CONFIG = [
'auth.bruteforce.protection.enabled' => true,
/**
+ * Whether the brute force protection should write into the database even when a memory cache is available
+ *
+ * Using the database is most likely worse for performance, but makes investigating
+ * issues a lot easier as it's possible to look directly at the table to see all
+ * logged remote addresses and actions.
+ *
+ * Defaults to ``false``
+ */
+'auth.bruteforce.protection.force.database' => false,
+
+/**
* Whether the brute force protection shipped with Nextcloud should be set to testing mode.
*
* In testing mode brute force attempts are still recorded, but the requests do