Browse Source

Update dns_hover.sh

More formating
pull/3135/head
ddarek2000 5 years ago
committed by GitHub
parent
commit
621325dc83
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      dnsapi/dns_hover.sh

11
dnsapi/dns_hover.sh

@ -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
}

Loading…
Cancel
Save