mirror of
https://github.com/jazzband/django-defender.git
synced 2026-03-16 22:10:32 +00:00
bump version to 0.9.6
This commit is contained in:
parent
73d442e31b
commit
ac36751561
3 changed files with 5 additions and 2 deletions
|
|
@ -2,6 +2,9 @@
|
||||||
Changes
|
Changes
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
0.9.6
|
||||||
|
=====
|
||||||
|
|
||||||
- Confirm support for Django 4.1
|
- Confirm support for Django 4.1
|
||||||
- Add ``DEFENDER_ATTEMPT_COOLOFF_TIME`` config to override ``DEFENDER_COOLOFF_TIME`` specifically for attempt lifespan [@djmore4]
|
- Add ``DEFENDER_ATTEMPT_COOLOFF_TIME`` config to override ``DEFENDER_COOLOFF_TIME`` specifically for attempt lifespan [@djmore4]
|
||||||
- Add ``DEFENDER_LOCKOUT_COOLOFF_TIME`` config to override ``DEFENDER_COOLOFF_TIME`` specifically for lockout duration [@djmore4]
|
- Add ``DEFENDER_LOCKOUT_COOLOFF_TIME`` config to override ``DEFENDER_COOLOFF_TIME`` specifically for lockout duration [@djmore4]
|
||||||
|
|
|
||||||
|
|
@ -729,7 +729,7 @@ The views block based on email address submitted on the password reset view. Thi
|
||||||
def post(self, request, *args, **kwargs):
|
def post(self, request, *args, **kwargs):
|
||||||
"""
|
"""
|
||||||
Confirm the user isn’t already blocked by IP before allowing form POST.
|
Confirm the user isn’t already blocked by IP before allowing form POST.
|
||||||
|
|
||||||
Also, force log this form POST as a single entry in the Defender cache, against the submitted email address.
|
Also, force log this form POST as a single entry in the Defender cache, against the submitted email address.
|
||||||
"""
|
"""
|
||||||
if def_utils.is_already_locked(request):
|
if def_utils.is_already_locked(request):
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
VERSION = (0, 9, 4)
|
VERSION = (0, 9, 6)
|
||||||
|
|
||||||
__version__ = ".".join((map(str, VERSION)))
|
__version__ = ".".join((map(str, VERSION)))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue