mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-09 17:55:44 +00:00
Update dns_hover.sh
More formating
This commit is contained in:
parent
3f95564c06
commit
621325dc83
@ -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…
x
Reference in New Issue
Block a user