How does Django rest-framework-jwt rewrite the error message returned?

clipboard.png
I used django rest-framework-JWT directly to log in.
I want to customize the error message returned and be able to directly indicate whether the user name or password is wrong.
where can I change it?

Apr.03,2021

Hello, how did you solve it in the end? I am also trapped by this problem, and I can't understand the source code.

Menu