Merge commit '5c5f3bece5aea447ca940bd570599d8bd4b3c1cc'

This commit is contained in:
Andrea Cavalli 2020-11-04 20:08:36 +01:00
commit dd062da094

View File

@ -273,7 +273,7 @@ class TdExample {
[this](td_api::authorizationStateWaitPassword &) {
std::cout << "Enter authentication password: " << std::flush;
std::string password;
std::getline(std::cin, line);
std::getline(std::cin, password);
send_query(td_api::make_object<td_api::checkAuthenticationPassword>(password),
create_authentication_query_handler());
},