2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Don't read legacy "errors" in passport.

This commit is contained in:
John Preston
2023-03-05 20:45:18 +04:00
parent 221b0d19c7
commit d15c462cc3
3 changed files with 4 additions and 10 deletions

View File

@@ -243,14 +243,12 @@ bool ShowPassportForm(
const auto nonce = params.value(
Passport::NonceNameByScope(scope),
QString());
const auto errors = params.value("errors", QString());
controller->showPassportForm(Passport::FormRequest(
botId,
scope,
callback,
publicKey,
nonce,
errors));
nonce));
return true;
}