New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cooloff function and minor refactor #1
Commits on Sep 14, 2010
-
Allows user to define an amount of time after which old failed attempts will be forgotten.
Mike Blume committedSep 14, 2010 -
Mike Blume committed
Sep 14, 2010
Commits on Sep 15, 2010
-
Mike Blume committed
Sep 15, 2010 -
check for lockout immediately, rather than mucking with the database.
This has the side effect that a locked-out user attempting to log in does not reset their cooloff time. This is good, since the reverse may feel overly 'punitive' to the user.
Mike Blume committedSep 15, 2010 -
move check_request out to its own function, so folks can import it.
check_request takes a request and a boolean, is_unsuccessful. It updates the database as needed, then returns True if the response should continue unchanged, and False if it should be blocked. it also logs out the request if we're blocking.
-
-
Commits on Sep 20, 2010
-
allow more flexibility in lockout display
creates settings for either an URL to redirect to, or a template to display.
-
Mike Blume committed
Sep 20, 2010 -
Mike Blume committed
Sep 20, 2010 -
Mike Blume committed
Sep 20, 2010 -
some controls on ouput verbosity
Mike Blume committedSep 20, 2010 -
Mike Blume committed
Sep 20, 2010 -
a bit less verbosity -- this gets imported a lot if you're using runs…
…erver
Mike Blume committedSep 20, 2010 -
successful login resets failure count
If a user fails to login, then logs in successfully, we wipe the slate.
Mike Blume committedSep 20, 2010
Commits on Sep 24, 2010
-
locking someone out deserves a warn, not just an info
Mike Blume committedSep 24, 2010 -
Mike Blume committed
Sep 24, 2010
Commits on Sep 27, 2010
-
from axes.utils import reset reset() will reset all lockouts and access records. reset(ip) will clear lockout/records for ip reset will print a message to std out if there is nothing to reset, unless called with silent = True
Mike Blume committedSep 27, 2010 -
Mike Blume committed
Sep 27, 2010
Commits on Sep 29, 2010
-
let git and hg ignore eachother
Mike Blume committedSep 29, 2010
Commits on Oct 1, 2010
-
Mike Blume committed
Oct 1, 2010