From a92cd5b1aafe43bbad8292b39fdc93a4ddc40390 Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Mon, 6 Sep 2021 16:14:57 -0400 Subject: [PATCH] allow accounts to be removed from manifest without successfully removing authenticator from account --- src/main.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 1e56cdf..ef61fd4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -456,10 +456,16 @@ fn main() { "Failed to remove authenticator from {}", 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) => { - println!( + error!( "Unexpected error when removing authenticator from {}: {}", account.account_name, err );