Skip to content

Commit

Permalink
Revert "Restrict Version Disclosure to Authenticated Requests in Home…
Browse files Browse the repository at this point in the history
… Assistant" (#107904)
  • Loading branch information
bdraco authored Jan 12, 2024
1 parent a7d21c7 commit 71aecab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/websocket_api/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit 71aecab

Please sign in to comment.