mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
Tone down Axes aggressiveness
In testing, lockouts are happening far too frequently. Thus make the following changes to Axes configuration: * Lock out only after 4 incorrect attempts, not 3 * Set a 1-hour cooling-off period, after which the lockout will be removed Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
c148849924
commit
88fb47636b
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user