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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user