summaryrefslogtreecommitdiff
path: root/hib-dlagent
diff options
context:
space:
mode:
Diffstat (limited to 'hib-dlagent')
-rwxr-xr-xhib-dlagent4
1 files changed, 4 insertions, 0 deletions
diff --git a/hib-dlagent b/hib-dlagent
index 0d98b0f..1bc2c40 100755
--- a/hib-dlagent
+++ b/hib-dlagent
@@ -15,6 +15,10 @@ KEYS=()
STORAGE=
login() {
+ if [ -z "$PASSWORD" ]; then
+ read -rsp 'Enter Humble account password: ' PASSWORD
+ echo
+ fi
curl -s --cookie-jar "$COOKIE_JAR" \
--data-urlencode "username=$USERNAME" --data-urlencode "password=$PASSWORD" "$LOGIN_PAGE"
}