diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-08-22 12:19:51 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-08-22 12:40:15 +0200 |
commit | 43bc31bacb9082c02bc4b63fb1695ddcb1d7af84 (patch) | |
tree | 49400394359d9c38d0a11e867dde0fd99e9a4d77 /config | |
parent | cd62b38cc8a9176065955f6ed794ed78517b5dbb (diff) | |
download | nextcloud-server-43bc31bacb9082c02bc4b63fb1695ddcb1d7af84.tar.gz nextcloud-server-43bc31bacb9082c02bc4b63fb1695ddcb1d7af84.zip |
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 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. |