django-axes/docs/issues.rst
Jorge Galvis 025325adb7 Improve documentation:
+ Move chapters to a separate file.
+ Add readthedocs theme.
+ Remove doc from README.rst
2016-08-01 00:17:34 +02:00

33 lines
901 B
ReStructuredText

.. _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"