mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
Clarify and/or conditions in AXES_LOCKOUT_PARAMETERS examples
Some checks are pending
Test / build (Python 3.10, Django 4.2) (push) Waiting to run
Test / build (Python 3.11, Django 4.2) (push) Waiting to run
Test / build (Python 3.12, Django 4.2) (push) Waiting to run
Test / build (Python 3.14, Django 4.2) (push) Waiting to run
Test / build (Python 3.10, Django 5.2) (push) Waiting to run
Test / build (Python 3.11, Django 5.2) (push) Waiting to run
Test / build (Python 3.12, Django 5.2) (push) Waiting to run
Test / build (Python 3.13, Django 5.2) (push) Waiting to run
Test / build (Python 3.14, Django 5.2) (push) Waiting to run
Test / build (Python 3.12, Django 6.0) (push) Waiting to run
Test / build (Python 3.13, Django 6.0) (push) Waiting to run
Test / build (Python 3.14, Django 6.0) (push) Waiting to run
Test / build (Python 3.14, Django main) (push) Waiting to run
Test / build (Python 3.14, Django qa) (push) Waiting to run
Some checks are pending
Test / build (Python 3.10, Django 4.2) (push) Waiting to run
Test / build (Python 3.11, Django 4.2) (push) Waiting to run
Test / build (Python 3.12, Django 4.2) (push) Waiting to run
Test / build (Python 3.14, Django 4.2) (push) Waiting to run
Test / build (Python 3.10, Django 5.2) (push) Waiting to run
Test / build (Python 3.11, Django 5.2) (push) Waiting to run
Test / build (Python 3.12, Django 5.2) (push) Waiting to run
Test / build (Python 3.13, Django 5.2) (push) Waiting to run
Test / build (Python 3.14, Django 5.2) (push) Waiting to run
Test / build (Python 3.12, Django 6.0) (push) Waiting to run
Test / build (Python 3.13, Django 6.0) (push) Waiting to run
Test / build (Python 3.14, Django 6.0) (push) Waiting to run
Test / build (Python 3.14, Django main) (push) Waiting to run
Test / build (Python 3.14, Django qa) (push) Waiting to run
This commit is contained in:
parent
a5d14cd630
commit
fdd7b22cd3
1 changed files with 2 additions and 2 deletions
|
|
@ -188,7 +188,7 @@ Example ``AXES_LOCKOUT_PARAMETERS`` configuration:
|
|||
|
||||
AXES_LOCKOUT_PARAMETERS = ["ip_address", ["username", "user_agent"]]
|
||||
|
||||
This way, axes will lock out users using ip_address and/or combination of username and user agent
|
||||
This way, axes will lock out users using ip_address or combination of username and user_agent
|
||||
|
||||
Example of callable ``AXES_LOCKOUT_PARAMETERS``:
|
||||
|
||||
|
|
@ -213,7 +213,7 @@ Example of callable ``AXES_LOCKOUT_PARAMETERS``:
|
|||
|
||||
AXES_LOCKOUT_PARAMETERS = "example.utils.get_lockout_parameters"
|
||||
|
||||
This way, if client ip_address is localhost, axes will lockout client only by username. In other case, axes will lockout client by username and/or ip_address.
|
||||
This way, if client ip_address is localhost, axes will lockout client only by username. In other case, axes will lockout client by username or ip_address.
|
||||
|
||||
Customizing client ip address lookups
|
||||
-------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue