Added sensitive input.
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ get_valid_input() {
|
||||
fi
|
||||
|
||||
while true; do
|
||||
local INPUT=$(gum input --header "${HEADER}" --prompt "${PROMPT}" --placeholder "${PLACEHOLDER}")
|
||||
local INPUT=$(gum input --header "${HEADER}" --prompt "${PROMPT}" --placeholder "${PLACEHOLDER}" --password="${SENSITIVE}")
|
||||
|
||||
# Handle empty input
|
||||
if [[ -z "${INPUT}" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user