Add missing placeholder description to twitch (#130013)

This commit is contained in:
epenet 2024-11-07 10:32:23 +01:00 committed by Franck Nijhof
parent 1beac5f0f8
commit 2692bc23a5
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -78,7 +78,10 @@ class OAuth2FlowHandler(
reauth_entry = self._get_reauth_entry()
self._abort_if_unique_id_mismatch(
reason="wrong_account",
description_placeholders={"title": reauth_entry.title},
description_placeholders={
"title": reauth_entry.title,
"username": str(reauth_entry.unique_id),
},
)
new_channels = reauth_entry.options[CONF_CHANNELS]