mirror of
https://github.com/home-assistant/core.git
synced 2026-09-26 01:11:51 -04:00
Do not log the received Foursquare push secret (#182281)
This commit is contained in:
@@ -102,9 +102,7 @@ class FoursquarePushReceiver(HomeAssistantView):
|
||||
_LOGGER.debug("Received Foursquare push: %s", data)
|
||||
|
||||
if self.push_secret != secret:
|
||||
_LOGGER.error(
|
||||
"Received Foursquare push with invalid push secret: %s", secret
|
||||
)
|
||||
_LOGGER.error("Received Foursquare push with an invalid push secret")
|
||||
return self.json_message("Incorrect secret", HTTPStatus.BAD_REQUEST)
|
||||
|
||||
request.app[KEY_HASS].bus.async_fire(EVENT_PUSH, data)
|
||||
|
||||
Reference in New Issue
Block a user