Code Monkey home page Code Monkey logo

Comments (9)

zoten avatar zoten commented on June 4, 2024

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.

vlanard avatar vlanard commented on June 4, 2024

+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.

aclark4life avatar aclark4life commented on June 4, 2024

@zoten Where is your PR? I don't see it.

from django-axes.

zoten avatar zoten commented on June 4, 2024

@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.

toabi avatar toabi commented on June 4, 2024

Jep, this issue would also be important for me.

from django-axes.

zoten avatar zoten commented on June 4, 2024

Great job!

from django-axes.

sergiolepore avatar sergiolepore commented on June 4, 2024

@zoten thanks for fixing this weird bug!
@aclark4life are you going to release a new version soon? Thanks!

from django-axes.

aclark4life avatar aclark4life commented on June 4, 2024

Done! https://pypi.python.org/pypi/django-axes/1.4.0

from django-axes.

sergiolepore avatar sergiolepore commented on June 4, 2024

@aclark4life thank you sooo much! πŸ˜„

from django-axes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.