Revert "Restrict Version Disclosure to Authenticated Requests in Home Assistant" (#107904)

This commit is contained in:
J. Nick Koston
2024-01-12 11:06:59 -10:00
committed by GitHub
parent a7d21c709d
commit 71aecab38b

View File

@@ -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]: