From e034b469892e2a5bdb861d5874b14e69aafb1b17 Mon Sep 17 00:00:00 2001 From: ste Date: Sat, 14 Oct 2023 19:21:42 +0200 Subject: [PATCH] Change password input to Masked --- jig-cli/src/commands/init_config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/jig-cli/src/commands/init_config.rs b/jig-cli/src/commands/init_config.rs index cc05e3d..baf52c6 100644 --- a/jig-cli/src/commands/init_config.rs +++ b/jig-cli/src/commands/init_config.rs @@ -201,6 +201,7 @@ impl InitConfig { let token = Password::new("Auth token") .without_confirmation() + .with_display_mode(inquire::PasswordDisplayMode::Masked) .prompt() .wrap_err("Missing authentication token input")?;