mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Restrict Version Disclosure to Authenticated Requests in Home Assistant (#107458)
This commit is contained in:
parent
bef596d0dd
commit
46a06bc8cd
@ -42,7 +42,7 @@ def auth_ok_message() -> dict[str, str]:
|
||||
|
||||
def auth_required_message() -> dict[str, str]:
|
||||
"""Return an auth_required message."""
|
||||
return {"type": TYPE_AUTH_REQUIRED, "ha_version": __version__}
|
||||
return {"type": TYPE_AUTH_REQUIRED}
|
||||
|
||||
|
||||
def auth_invalid_message(message: str) -> dict[str, str]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user