mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-27 19:16:29 +00:00
Allow GET method on /auth with BasicAuth (#2407)
* Allow GET on /auth with BasicAuth * Accept GET without further validation As suggested on https://github.com/home-assistant/supervisor/pull/2407#pullrequestreview-563712080
This commit is contained in:
parent
6769bfd824
commit
3b70cd58a3
@ -248,6 +248,7 @@ class RestAPI(CoreSysAttributes):
|
||||
|
||||
self.webapp.add_routes(
|
||||
[
|
||||
web.get("/auth", api_auth.auth),
|
||||
web.post("/auth", api_auth.auth),
|
||||
web.post("/auth/reset", api_auth.reset),
|
||||
web.delete("/auth/cache", api_auth.cache),
|
||||
|
Loading…
x
Reference in New Issue
Block a user