Merge pull request #52 from dakshesh14/fix/password_opensll

fix: iso setup failing when password starts with dash(-)
This commit is contained in:
Ryan Hughes authored and GitHub committed 2025-10-27 11:11:35 -04:00
commit 82f854054e
1 file changed
+1 -1
+1 -1
View File
@@ -121,7 +121,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> ")