mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #23155 -- Added request argument to user_login_failed signal.
This commit is contained in:
parent
4b9330ccc0
commit
f0f3de3c96
6 changed files with 42 additions and 7 deletions
|
@ -479,6 +479,14 @@ can be used for notification when a user logs in or out.
|
|||
authentication backend. Credentials matching a set of 'sensitive' patterns,
|
||||
(including password) will not be sent in the clear as part of the signal.
|
||||
|
||||
``request``
|
||||
The :class:`~django.http.HttpRequest` object, if one was provided to
|
||||
:func:`~django.contrib.auth.authenticate`.
|
||||
|
||||
.. versionchanged:: 1.11
|
||||
|
||||
The ``request`` argument was added.
|
||||
|
||||
.. _authentication-backends-reference:
|
||||
|
||||
Authentication backends
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue