Added sensitive input.
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ get_valid_input() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
while true; do
|
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
|
# Handle empty input
|
||||||
if [[ -z "${INPUT}" ]]; then
|
if [[ -z "${INPUT}" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user