mirror of
https://github.com/jazzband/django-axes.git
synced 2026-05-26 08:03:44 +00:00
Improve middleware documentation
This commit is contained in:
parent
7340f2c408
commit
4b7650d37d
1 changed files with 4 additions and 0 deletions
|
|
@ -46,6 +46,10 @@ After installing the package, the project settings need to be configured.
|
|||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
|
||||
# AxesMiddleware should be the last middleware in the MIDDLEWARE list.
|
||||
# It only formats user lockout messages and renders Axes lockout responses
|
||||
# on failed user authentication attempts from login views.
|
||||
# If you do not want Axes to override the authentication response
|
||||
# you can skip installing the middleware and use your own views.
|
||||
'axes.middleware.AxesMiddleware',
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue