[wp-trac] [WordPress Trac] #25446: Return HTTP status code 401 upon failed login
WordPress Trac
noreply at wordpress.org
Sat Dec 12 22:55:55 UTC 2015
#25446: Return HTTP status code 401 upon failed login
------------------------------------+------------------------------
Reporter: raoulbhatia | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 3.6
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
------------------------------------+------------------------------
Changes (by swissspidy):
* keywords: has-patch => needs-patch
Comment:
As per #6:
> 401 is the correct error to return here.
> 401 should work fine in terms of the standard, since it's not just for
Basic authentication. To be really compliant, we can also send a WWW-
Authenticate header
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25446#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list