#26343: user_login_failed not fired on PermissionDenied
------------------------------+--------------------
     Reporter:  knbk          |      Owner:  nobody
         Type:  Bug           |     Status:  new
    Component:  contrib.auth  |    Version:  master
     Severity:  Normal        |   Keywords:
 Triage Stage:  Unreviewed    |  Has patch:  0
Easy pickings:  1             |      UI/UX:  0
------------------------------+--------------------
 If an authentication backend raises `PermissionDenied`, the
 `authenticate()` function will short-circuit, and fail to fire the
 `user_login_failed` signal.

 See
 
https://github.com/django/django/blob/34c56687ae4df2cff632447eddd7ef255ee74726/django/contrib/auth/__init__.py#L75

--
Ticket URL: <https://code.djangoproject.com/ticket/26343>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/047.1599768aa7e51c9190955bc4b55cdb26%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to