django-axes/axes
Bruno Alla 2fb4c81243 feat: pass username to AXES_COOLOFF_TIME callback
If the AXES_COOLOFF_TIME is a callable or path to a callable taking
an argument, pass the username to it.

This should enable users to customize the cool off to be user dependant,
and possibly implement a growing cool-off time:

- First lockout cools off after 5 mins
- Second one after 10 mins
- etc...
2024-10-02 20:15:31 +03:00
..
handlers feat: pass username to AXES_COOLOFF_TIME callback 2024-10-02 20:15:31 +03:00
locale Add French translations 2023-11-06 12:35:54 +01:00
management Add new management command axes_reset_ip_username 2023-11-28 20:37:39 +01:00
migrations fix: make 007 migration backwards compatible 2024-06-29 21:21:15 +05:00
__init__.py Remove compatibility with pkg_resources 2024-02-15 21:39:35 +01:00
admin.py Add username to admin fieldsets #1073 2023-06-18 14:15:53 +03:00
apps.py Update syntax to be compliant with new black version 2024-03-04 20:07:47 +02:00
attempts.py chore!: pass request and credentials to get_client_parameters 2023-05-13 14:04:14 +03:00
backends.py Remove unused methods from AxesStandaloneBackend 2023-06-22 11:44:53 +03:00
checks.py Add check for callable settings 2023-06-13 19:15:07 +03:00
conf.py #1093: "AXES_SENSITIVE_PARAMETERS" now have sensible defaults to follow "privacy-by-design" 2023-07-30 18:59:48 +03:00
decorators.py Add missing @wraps decorator 2021-01-05 11:57:53 +02:00
exceptions.py Upgrade QA tools 2019-11-12 12:08:42 +02:00
helpers.py feat: pass username to AXES_COOLOFF_TIME callback 2024-10-02 20:15:31 +03:00
middleware.py Fix code formatting 2023-12-27 12:40:23 +02:00
models.py feat: pass username to AXES_COOLOFF_TIME callback 2024-10-02 20:15:31 +03:00
signals.py Optimize imports as part of cleanup round 2021-01-07 18:23:33 +02:00
utils.py refactor: fix prospector errors 2023-05-13 14:04:14 +03:00