#24465: Failed logins are recorded as HTTP 200 instead of HTTP 403 -------------------------------+-------------------- Reporter: marklit | Owner: nobody Type: Bug | Status: new Component: contrib.admin | Version: 1.7 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------- Attempting to login to the Django admin with an incorrect username and password combination logs the event as an `HTTP 200`:
`[10/Mar/2015 10:24:06] "POST /admin/login/?next=/admin/ HTTP/1.0" 200 2074` I would expect that it would be recorded as a 403. `django.contrib.admin.forms.AdminAuthenticationForm` raises a `forms.ValidationError` if the login is invalid but there is nothing out of the box that will record the response as HTTP 403. -- Ticket URL: <https://code.djangoproject.com/ticket/24465> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/050.7cef354ca4cb2e17e2a8963a8e0fb2f8%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.