django-rest-framework-jwt
django-rest-framework-jwt copied to clipboard
Raise AuthenticationFailed when provided credentials were incorrect
Fix for issue #253
Hey @unicod3 thanks for the PR can you check and fix the tests that are failing now ? thanks!
@angvp I am working on it. I will refactor the code. I think I need to write a custom error handler for this.
Awesome! you're the best!
@unicod3 I think you have a bug in your tests.
as stated by docs, AuthenticationFailed will return HTTP 401 and in your tests you look for 403.