By default when credentials are wrong, DRF-JWT return a response with 400 status. Why is it like that? When users don't provide correct login information, bad request log gets written in the browser's console. So I handle the error at the front but still it is not nice to have a console error message. So how can I override the JWT to not raise a 400, instead return success, what is the correct way to do it?
Asked
Active
Viewed 3,747 times