allow accounts to be removed from manifest without successfully removing authenticator from account
This commit is contained in:
parent
274dd373c2
commit
a92cd5b1aa
1 changed files with 7 additions and 1 deletions
|
@ -456,10 +456,16 @@ fn main() {
|
||||||
"Failed to remove authenticator from {}",
|
"Failed to remove authenticator from {}",
|
||||||
account.account_name
|
account.account_name
|
||||||
);
|
);
|
||||||
|
match tui::prompt_char("Would you like to remove it from the manifest anyway?", "yN") {
|
||||||
|
'y' => {
|
||||||
|
successful.push(account.account_name.clone());
|
||||||
|
}
|
||||||
|
_ => {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
println!(
|
error!(
|
||||||
"Unexpected error when removing authenticator from {}: {}",
|
"Unexpected error when removing authenticator from {}: {}",
|
||||||
account.account_name, err
|
account.account_name, err
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue