Fix SIGN_QUERY_PARAM in check in auth_middleware (#74479)
This commit is contained in:
parent
3875fc5953
commit
8dfb0cb4e7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue