Fix authorization form required types.

GitOrigin-RevId: fea3a2679d00ba57981762285703c6fdc7f72473
This commit is contained in:
levlam 2018-08-12 20:30:51 +03:00
parent dcaf773152
commit 94a4bbcac4

View File

@ -721,6 +721,9 @@ class GetPassportAuthorizationForm : public NetQueryCallback {
default:
UNREACHABLE();
}
if (!required_type.empty()) {
required_types.push_back(required_type);
}
}
std::vector<TdApiSecureValue> values;