`create-users`: default to setting no password in prompt

This commit is contained in:
Oystein Kristoffer Tveit 2024-08-19 18:06:47 +02:00
parent b9a1d91630
commit 51302d75f0
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 1 additions and 0 deletions

View File

@ -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)?;