Update dns_hover.sh

More formating
This commit is contained in:
ddarek2000 2020-08-31 14:23:05 -04:00 committed by GitHub
parent 3f95564c06
commit 621325dc83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,9 +150,9 @@ dns_hover_rm() {
# returns 0 success
_HOVER_login() {
#save the credentials to the account conf file required for testing
# _saveaccountconf_mutable HOVER_Username "$HOVER_Username"
# _saveaccountconf_mutable HOVER_Password "$HOVER_Password"
#save the credentials to the account conf file required for testing
# _saveaccountconf_mutable HOVER_Username "$HOVER_Username"
# _saveaccountconf_mutable HOVER_Password "$HOVER_Password"
if [ -z "$HOVER_COOKIE" ]; then
@ -167,7 +167,6 @@ _HOVER_login() {
HOVER_Password=""
return 1
else
_debug "Login to HOVER as user $HOVER_Username"
_cf_rest POST "login" "username=$(printf '%s' "$HOVER_Username")&password=$(printf '%s' "$HOVER_Password")"
if [ "$?" != "0" ]; then
@ -193,8 +192,8 @@ _HOVER_login() {
return 0
fi
_debug "HOVER login cookies: $HOVER_COOKIE (cached = $using_cached_cookies)"
return 1
_debug "HOVER login cookies: $HOVER_COOKIE (cached = $using_cached_cookies)"
return 1
}