Merge pull request #9657

5f39d17 common/password: flush confirm prompt before user input (jeffro256)
This commit is contained in:
tobtoht 2025-01-14 14:30:04 +00:00
commit fce0c39e6c
No known key found for this signature in database
GPG Key ID: E45B10DD027D2472

View File

@ -185,7 +185,7 @@ namespace
return false;
if (verify)
{
std::cout << "Confirm password: ";
std::cout << "Confirm password: " << std::flush;
if (!read_from_tty(pass2, hide_input))
return false;
if(pass1!=pass2)