fix: iso setup failing when password starts with dash(-)
This commit is contained in:
1 file changed
+1
-1
@@ -73,7 +73,7 @@ user_form() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Hash the password using yescrypt
|
# 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> ")
|
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> ")
|
email_address=$(gum input --placeholder "Used for git authentication (hit return to skip)" --prompt.foreground="#845DF9" --prompt "Email address> ")
|
||||||
|
|||||||
Reference in new issue
Block a user