From 58e5b80c232f29c8987070d86a02e1927d04fa29 Mon Sep 17 00:00:00 2001 From: Mauro Torrez Date: Tue, 20 Aug 2019 17:29:13 -0300 Subject: [PATCH] agrego control lockdown --- tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 6e9f69c..86c6a39 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -76,6 +76,15 @@ {% endif %} + // Enable captcha after 3 authentication failure + define('BRUTEFORCE_CAPTCHA', 10); + + // Lock the account after 6 authentication failure + define('BRUTEFORCE_LOCKDOWN', 50); + + // Lock account duration in minutes + define('BRUTEFORCE_LOCKDOWN_DURATION', 30); + dest: /var/lib/docker/volumes/kanboard_data/_data/config.php register: kb_config