1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #23155 -- Added request argument to user_login_failed signal.

This commit is contained in:
Gavin Wahl
2016-02-18 17:58:30 -07:00
committed by Tim Graham
parent 4b9330ccc0
commit f0f3de3c96
6 changed files with 42 additions and 7 deletions

View File

@@ -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