Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
users: Return non-successful status code when failing auth. (#123)
Because `writeJson()` was returning a 200, it made errors look as if they were successful, which was throwing off logic in the frontend app. This makes any failure return a 400 code.
- Loading branch information