Revert "Restrict Version Disclosure to Authenticated Requests in Home Assistant" (#107904)
This commit is contained in:
parent
a7d21c709d
commit
71aecab38b
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
return {"type": TYPE_AUTH_REQUIRED, "ha_version": __version__}
|
||||
|
||||
|
||||
def auth_invalid_message(message: str) -> dict[str, str]:
|
||||
|
|
Loading…
Add table
Reference in a new issue