Merge pull request #52 from dakshesh14/fix/password_opensll
fix: iso setup failing when password starts with dash(-)
This commit is contained in:
1 file changed
+1
-1
@@ -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> ")
|
||||
|
||||
Reference in new issue
Block a user