Police-Data-Accessibility-Project / data-sources-app

An API and UI for using and maintaining the Data Sources database
MIT License
4 stars 5 forks source link

Add logic and test for `\login` failure #535

Open maxachis opened 2 days ago

maxachis commented 2 days ago

Context

Currently, the /login endpoint returns a generic 500 Internal Server Error message on a failed login, and there is no test for an invalid login. Let's fix that!

Requirements

Tests

Docs

Open questions