mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Fix SIGN_QUERY_PARAM in check in auth_middleware (#74479)
This commit is contained in:
parent
3875fc5953
commit
8dfb0cb4e7
@ -218,7 +218,7 @@ async def async_setup_auth(hass: HomeAssistant, app: Application) -> None:
|
|||||||
# for every request.
|
# for every request.
|
||||||
elif (
|
elif (
|
||||||
request.method == "GET"
|
request.method == "GET"
|
||||||
and SIGN_QUERY_PARAM in request.query
|
and SIGN_QUERY_PARAM in request.query_string
|
||||||
and await async_validate_signed_request(request)
|
and await async_validate_signed_request(request)
|
||||||
):
|
):
|
||||||
authenticated = True
|
authenticated = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user