mirror of
https://github.com/jazzband/django-axes.git
synced 2026-05-14 10:33:11 +00:00
Removed outdated documentation. Fixes #272
This commit is contained in:
parent
ba54a857b2
commit
01cc28360c
2 changed files with 1 additions and 35 deletions
|
|
@ -12,14 +12,13 @@ Contents
|
|||
--------
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:maxdepth: 2
|
||||
|
||||
installation
|
||||
configuration
|
||||
usage
|
||||
requirements
|
||||
development
|
||||
issues
|
||||
captcha
|
||||
|
||||
Indices and tables
|
||||
|
|
|
|||
|
|
@ -1,33 +0,0 @@
|
|||
.. _issues:
|
||||
|
||||
Issues
|
||||
======
|
||||
|
||||
Not being locked out after failed attempts
|
||||
------------------------------------------
|
||||
|
||||
You may find that Axes is not capturing your failed login attempts. It may
|
||||
be that you need to manually add watch_login to your login url.
|
||||
|
||||
For example, in your urls.py::
|
||||
|
||||
...
|
||||
from my.custom.app import login
|
||||
from axes.decorators import watch_login
|
||||
...
|
||||
urlpatterns = patterns('',
|
||||
(r'^login/$', watch_login(login)),
|
||||
...
|
||||
|
||||
|
||||
Locked out without reason
|
||||
-------------------------
|
||||
|
||||
It may happen that you have suddenly become locked out without a single failed
|
||||
attempt. One possible reason is that you are using some custom login form and the
|
||||
username field is named something different than "username", e.g. "email". This
|
||||
leads to all users attempts being lumped together. To fix this add the following
|
||||
to your settings:
|
||||
|
||||
AXES_USERNAME_FORM_FIELD = "email"
|
||||
|
||||
Loading…
Reference in a new issue