Opened 9 years ago
Closed 9 years ago
#26343 closed Bug (fixed)
user_login_failed not fired on PermissionDenied
Reported by: | Marten Kenbeek | Owned by: | Sam |
---|---|---|---|
Component: | contrib.auth | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
If an authentication backend raises PermissionDenied
, the authenticate()
function will short-circuit, and fail to fire the user_login_failed
signal.
Change History (6)
comment:1 by , 9 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 9 years ago
Has patch: | set |
---|---|
Needs tests: | set |
When adding a link to the pull request, please check "Has patch". Please uncheck "Needs tests" when you update your pull request with one.
Note:
See TracTickets
for help on using tickets.
Work is available at https://github.com/ieatkittens/django/tree/ticket_26343. Docs build fine and tests pass under Postgresql. First time contributing so please let me know if I am missing anything!