mirror of
https://github.com/monero-project/monero.git
synced 2025-01-28 18:56:31 +02:00
Merge pull request #9656
c99c07b
common/password: flush confirm prompt before user input (jeffro256)
This commit is contained in:
commit
06f0cd5606
@ -185,7 +185,7 @@ namespace
|
|||||||
return false;
|
return false;
|
||||||
if (verify)
|
if (verify)
|
||||||
{
|
{
|
||||||
std::cout << "Confirm password: ";
|
std::cout << "Confirm password: " << std::flush;
|
||||||
if (!read_from_tty(pass2, hide_input))
|
if (!read_from_tty(pass2, hide_input))
|
||||||
return false;
|
return false;
|
||||||
if(pass1!=pass2)
|
if(pass1!=pass2)
|
||||||
|
Loading…
Reference in New Issue
Block a user