Change request error code for invalid login attempts #163
Labels
api
Improvement or changes to the API
auth
Authentication of users
improvement
Improvements to existing code
Currently, the returned error code is 400 (Bad request). I think this is a bit strange, especially from a front-end perspective. Using 401 (Unauthorized) or 403 (Forbidden) seems more appropriate.
The text was updated successfully, but these errors were encountered: