From 43bc31bacb9082c02bc4b63fb1695ddcb1d7af84 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 22 Aug 2019 12:19:51 +0200 Subject: set a storage availability delay on auth issues to avoid lock out Signed-off-by: Arthur Schiwon --- config/config.sample.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'config') 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 @@ -1480,6 +1480,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 -- cgit v1.2.3