Fix SIGN_QUERY_PARAM in check in auth_middleware (#74479)
parent
3875fc5953
commit
8dfb0cb4e7
|
@ -218,7 +218,7 @@ async def async_setup_auth(hass: HomeAssistant, app: Application) -> None:
|
|||
# for every request.
|
||||
elif (
|
||||
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)
|
||||
):
|
||||
authenticated = True
|
||||
|
|
Loading…
Reference in New Issue