From 3e78a6dacfd61e875c5187427d777e9f653f2c99 Mon Sep 17 00:00:00 2001 From: Irshad Ahmad Date: Mon, 18 Nov 2024 11:17:38 +0530 Subject: [PATCH] Fix login for Web Apps after recent Telegram update to Bot API. (#207) * Fix login via Web Apps * Add changelog * Update changelog --- .changeset/stupid-bikes-walk.md | 5 +++++ plugins/wptelegram-login/src/shared/LoginHandler.php | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/stupid-bikes-walk.md diff --git a/.changeset/stupid-bikes-walk.md b/.changeset/stupid-bikes-walk.md new file mode 100644 index 00000000..d52476b4 --- /dev/null +++ b/.changeset/stupid-bikes-walk.md @@ -0,0 +1,5 @@ +--- +"wptelegram-login": patch +--- + +Fixed login for Web Apps after recent Telegram update to Bot API. diff --git a/plugins/wptelegram-login/src/shared/LoginHandler.php b/plugins/wptelegram-login/src/shared/LoginHandler.php index 6d547ee1..b8179b62 100644 --- a/plugins/wptelegram-login/src/shared/LoginHandler.php +++ b/plugins/wptelegram-login/src/shared/LoginHandler.php @@ -196,6 +196,7 @@ private function cleanup_input( $input ) { 'start_param', 'can_send_after', 'chat_instance', + 'signature', // Misc. 'source', ];