From 51302d75f07409b898b18f8f58bad701aa95369c Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 19 Aug 2024 18:06:47 +0200 Subject: [PATCH] `create-users`: default to setting no password in prompt --- src/cli/user_command.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli/user_command.rs b/src/cli/user_command.rs index 8e51095..c49bff1 100644 --- a/src/cli/user_command.rs +++ b/src/cli/user_command.rs @@ -140,6 +140,7 @@ async fn create_users( "Do you want to set a password for user '{}'?", username )) + .default(false) .interact()? { let password = read_password_from_stdin_with_double_check(username)?;