mirror of
https://github.com/jazzband/django-axes.git
synced 2026-05-17 03:51:08 +00:00
Merge branch 'master' into django-ipware
This commit is contained in:
commit
c1c7caf348
1 changed files with 4 additions and 2 deletions
|
|
@ -49,6 +49,8 @@ These should be defined in your ``settings.py`` file.
|
|||
Default: ``True``
|
||||
* ``AXES_USERNAME_FORM_FIELD``: the name of the form field that contains your
|
||||
users usernames. Default: ``username``
|
||||
* ``AXES_PASSWORD_FORM_FIELD``: the name of the form field that contains your
|
||||
users password. Default: ``password``
|
||||
* ``AXES_LOCK_OUT_BY_COMBINATION_USER_AND_IP``: If ``True`` prevents the login
|
||||
from IP under a particular user if the attempt limit has been exceeded,
|
||||
otherwise lock out based on IP.
|
||||
|
|
@ -60,5 +62,5 @@ These should be defined in your ``settings.py`` file.
|
|||
Default: ``False``
|
||||
* ``AXES_IP_WHITELIST``: A list of IP's to be whitelisted. For example: AXES_IP_WHITELIST=['0.0.0.0']. Default: []
|
||||
Default: ``False``
|
||||
* ``AXES_DISABLE_ACCESS_LOG``: If ``True``, disable all access logging, so the admin interface will be empty.
|
||||
* ``AXES_DISABLE_SUCCESS_ACCESS_LOG``: If ``True``, successful logins will not be logged, so the access log shown in the admin interface will only list unsuccessful login attempts.
|
||||
* ``AXES_DISABLE_ACCESS_LOG``: If ``True``, disable all access logging, so the admin interface will be empty. Default: ``False``
|
||||
* ``AXES_DISABLE_SUCCESS_ACCESS_LOG``: If ``True``, successful logins will not be logged, so the access log shown in the admin interface will only list unsuccessful login attempts. Default: ``False``
|
||||
|
|
|
|||
Loading…
Reference in a new issue