Use two seperate exceptions - `AuthenticationFailed`, and `NotAuthenticated`
Cleaner seperation of exception and resulting HTTP response. Should result in more obvious error messages.
Showing
Please
register
or
sign in
to comment
Cleaner seperation of exception and resulting HTTP response. Should result in more obvious error messages.