diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-08-22 13:19:51 +0300 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-09-09 17:51:31 +0300 |
commit | f42a6e05060e9a173ba71d3fc6efa6483fb81556 (patch) | |
tree | 2f6c8eea52539f0454cdcec91f5f3b0ee6e56a71 /config | |
parent | f29395e89dd511ab9840197aa3038c9503eacb1c (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.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index d7f9b217061..610a8b77207 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. |