print revocation code during setup process
This commit is contained in:
parent
140b2abda6
commit
001e507d30
1 changed files with 5 additions and 0 deletions
|
@ -267,6 +267,9 @@ fn main() {
|
|||
.lock()
|
||||
.unwrap();
|
||||
|
||||
println!("Authenticator has not yet been linked. Before continuing with finalization, please take the time to write down your revocation code: {}", account.revocation_code);
|
||||
tui::pause();
|
||||
|
||||
debug!("attempting link finalization");
|
||||
print!("Enter SMS code: ");
|
||||
let sms_code = tui::prompt();
|
||||
|
@ -302,6 +305,8 @@ fn main() {
|
|||
}
|
||||
}
|
||||
|
||||
println!("Authenticator has been finalized. Please actually write down your revocation code: {}", account.revocation_code);
|
||||
|
||||
return;
|
||||
} else if let Some(import_matches) = matches.subcommand_matches("import") {
|
||||
for file_path in import_matches.values_of("files").unwrap() {
|
||||
|
|
Loading…
Reference in a new issue