fix: iso setup failing when password starts with dash(-)

This commit is contained in:
dakshesh14 committed 2025-10-19 11:01:38 +05:30
1 parent 18b7c4bcb6
commit 880d8c57af
1 file changed
+1 -1
+1 -1
View File
@@ -73,7 +73,7 @@ user_form() {
done
# Hash the password using yescrypt
password_hash=$(openssl passwd -6 "$password")
password_hash=$(printf '%s' "$password" | openssl passwd -6 -stdin)
full_name=$(gum input --placeholder "Used for git authentication (hit return to skip)" --prompt.foreground="#845DF9" --prompt "Full name> ")
email_address=$(gum input --placeholder "Used for git authentication (hit return to skip)" --prompt.foreground="#845DF9" --prompt "Email address> ")