mirror of
https://github.com/monero-project/monero.git
synced 2025-01-05 10:29:34 +00:00
common/password: flush confirm prompt before user input
Co-authored-by: Mike <mpech@tuta.io>
This commit is contained in:
parent
941ecefab2
commit
c99c07bf4a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue