diff --git a/docker/settings.py b/docker/settings.py index d28e631..2ea1c87 100644 --- a/docker/settings.py +++ b/docker/settings.py @@ -280,6 +280,8 @@ CACHES = { } AXES_CACHE = "axes_cache" AXES_LOCKOUT_TEMPLATE = "registration/account_lockout.html" +AXES_FAILURE_LIMIT = 4 +AXES_COOLOFF_TIME = 1 # Full path to directory to store logs for dynamically executed tasks TASK_LOG_DIR = "/opt/layerindex-task-logs" diff --git a/settings.py b/settings.py index 41199a1..57cb64b 100644 --- a/settings.py +++ b/settings.py @@ -279,6 +279,8 @@ CACHES = { } AXES_CACHE = "axes_cache" AXES_LOCKOUT_TEMPLATE = "registration/account_lockout.html" +AXES_FAILURE_LIMIT = 4 +AXES_COOLOFF_TIME = 1 # Full path to directory to store logs for dynamically executed tasks TASK_LOG_DIR = "/tmp/layerindex-task-logs"