mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
Rename parameter. Fixes #267
This commit is contained in:
parent
a7764766e1
commit
66b5f17811
2 changed files with 2 additions and 2 deletions
|
|
@ -74,4 +74,4 @@ USE_TZ = False
|
|||
|
||||
LOGIN_REDIRECT_URL = '/admin/'
|
||||
|
||||
AXES_LOGIN_FAILURE_LIMIT = 10
|
||||
AXES_FAILURE_LIMIT = 10
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ Customizing Axes
|
|||
You have a couple options available to you to customize ``django-axes`` a bit.
|
||||
These should be defined in your ``settings.py`` file.
|
||||
|
||||
* ``AXES_LOGIN_FAILURE_LIMIT``: The number of login attempts allowed before a
|
||||
* ``AXES_FAILURE_LIMIT``: The number of login attempts allowed before a
|
||||
record is created for the failed logins. Default: ``3``
|
||||
* ``AXES_LOCK_OUT_AT_FAILURE``: After the number of allowed login attempts
|
||||
are exceeded, should we lock out this IP (and optional user agent)?
|
||||
|
|
|
|||
Loading…
Reference in a new issue