Rename parameter. Fixes #267

This commit is contained in:
Camilo Nova 2017-11-23 07:52:58 -05:00
parent a7764766e1
commit 66b5f17811
2 changed files with 2 additions and 2 deletions

View file

@ -74,4 +74,4 @@ USE_TZ = False
LOGIN_REDIRECT_URL = '/admin/'
AXES_LOGIN_FAILURE_LIMIT = 10
AXES_FAILURE_LIMIT = 10

View file

@ -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)?