Files
core/tests/components/hassio
Sergio Oller 905100a189 Disambiguate Supervisor HTTPUnauthorized on user/password validation (#44940)
* Disambiguate HTTPUnauthorized on user/password validation

The HA core API usually returns 401 when the request does not
have proper authentication tokens or they have expired.

However the user/password validation endpoint may also return
401 when the given user/password is invalid.

The supervisor is currently unable to distinguish both scenarios,
and it needs to.

See https://github.com/home-assistant/supervisor/issues/2408

* Return 404 if user& password are not found/valid

* Fix test for invalid user/password
2021-01-08 17:28:22 +01:00
..
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2021-01-01 22:31:56 +01:00
2019-07-31 12:25:30 -07:00
2021-01-01 22:31:56 +01:00