Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-08-22 13:19:51 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-08-22 13:40:15 +0300
commit43bc31bacb9082c02bc4b63fb1695ddcb1d7af84 (patch)
tree49400394359d9c38d0a11e867dde0fd99e9a4d77 /config
parentcd62b38cc8a9176065955f6ed794ed78517b5dbb (diff)
set a storage availability delay on auth issues to avoid lock out
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index f939fc371b7..e6ef5d90797 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1481,6 +1481,17 @@ $CONFIG = array(
'quota_include_external_storage' => false,
/**
+ * When an external storage is unavailable for some reasons, it will be flagged
+ * as such for 10 minutes. When the trigger is a failed authentication attempt
+ * the delay is higher and can be controlled with this option. The motivation
+ * is to make account lock outs at Active Directories (and compatible) more
+ * unlikely.
+ *
+ * Defaults to ``1800`` (seconds)
+ */
+'external_storage.auth_availability_delay' => 1800,
+
+/**
* Specifies how often the local filesystem (the Nextcloud data/ directory, and
* NFS mounts in data/) is checked for changes made outside Nextcloud. This
* does not apply to external storages.