From db88a00d48d1dce48b8700e460c06ff7fb344f0a Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 1 Aug 2015 12:14:22 -0400 Subject: Add bruteforce protection --- docs/config.markdown | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docs/config.markdown') diff --git a/docs/config.markdown b/docs/config.markdown index 45ba7a91..44f72b32 100644 --- a/docs/config.markdown +++ b/docs/config.markdown @@ -196,6 +196,20 @@ define('ENABLE_HSTS', true); define('ENABLE_XFRAME', true); ``` +Bruteforce protection +--------------------- + +```php +// Enable captcha after 3 authentication failure +define('BRUTEFORCE_CAPTCHA', 3); + +// Lock the account after 6 authentication failure +define('BRUTEFORCE_LOCKDOWN', 6); + +// Lock account duration in minute +define('BRUTEFORCE_LOCKDOWN_DURATION', 15); +``` + Various settings ---------------- -- cgit v1.2.3