Comments (9)
I proposed a patch that triggers the correct actions, but somehow it does not pass the Travis CI build.
If someone has thoughts about it it would be welcome, since I'd like to use this library in a project, but the signal's spawn is mandatory for my needs.
zoten@f3f9371
from django-axes.
+1 for this issue - code never hits the signal send line because of the is_already_locked check above it, and the fact that
failures > FAILURE_LIMIT
is never True: failures gets capped at 5 with FAILURE_LIMIT = 5, and is_already_locked() prevents reaching this logic a 2nd time.
it would be really nice to have access to this lockout signal to be able to customize site behavior at the moment of user lockout (e.g. notify admin or record suspicious activity).
from django-axes.
@zoten Where is your PR? I don't see it.
from django-axes.
@aclark4life I think it has been rejected because it seemed to break some tests, which I hadn't the time to fix.
You can still find the one-line-diff at
zoten@f3f9371
from django-axes.
Jep, this issue would also be important for me.
from django-axes.
Great job!
from django-axes.
@zoten thanks for fixing this weird bug!
@aclark4life are you going to release a new version soon? Thanks!
from django-axes.
Done! https://pypi.python.org/pypi/django-axes/1.4.0
from django-axes.
@aclark4life thank you sooo much! π
from django-axes.
Related Issues (20)
- Refactor: use one common function to resolve callable objects HOT 1
- AXES_LOCKOUT_PARAMETERS not working as expected HOT 6
- Username is not present in admin detail pages HOT 4
- TransactionManagementError when writing database is not "default" HOT 2
- axes_accessattemp and axes_accessfailurelog are not recording HOT 3
- Issue templates doesn't work
- Duplicate names for tests in `AxesCoolOffTestCase`
- FEATURE REQUEST: Logging without sensitive data by default (privacy by design) HOT 3
- BUG: IP address behind proxy is not resolved correctly HOT 3
- Check and/or fix RTD PDF build HOT 3
- BUG: AXES_LOCKOUT_PARAMETERS is not working as expected based on parameter. HOT 1
- BUG: Middleware Support for Async Required to Adhere to Djangoβs Asynchronous Standards HOT 2
- Deprecated: Django-ipware is no longer maintained; move to python-ipware HOT 7
- AXES_LOCKOUT_PARAMETERS = ["username"] with email as username doesn't work HOT 2
- BUG: AXES_PASSWORD_FORM_FIELD fails to redact password field from AccessAttempt.post_data if a custom login form prefix is used. HOT 1
- BUG: Race condition using redis with cooloff enabled HOT 1
- BUG: Setting `AXES_USERNAME_FORM_FIELD` to a custom value fails to fill the username field for `AccessAttempt` HOT 3
- Block specific IP's HOT 1
- BUG: Concurrent session logout are miss-tracked HOT 2
- migrations not reversible HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-axes.