The discussion revolves around whether a failed login attempt returning a 200 OK status code is a bug or intentional behavior. uckelman initiated the discussion, questioning the status code for a failed login. maiki suggested a 401 status code would be more suitable, but noted that the 200 OK status might indicate a successful POST request with feedback. Falco shared a related discussion on logging invalid login attempts. uckelman acknowledged the rationale behind returning a 200 OK status for a failed login, implying a “successful” failure. sam pointed out that this behavior can confuse bots and is undecided about changing it. uckelman clarified that they were seeking confirmation of the behavior’s intentionality, which they have now received.
But those are also HTTP status codes, for HTTP client connections; I think that nuance leads to decisions like returning a 200 (“your POST was successful, here is the feedback”).