mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
removed the _clearaccountconf() call for erroneous requests
This commit is contained in:
parent
a207199879
commit
0b363a5c98
@ -41,8 +41,6 @@ dns_internetbs_add() {
|
||||
if ! _contains "$response" "\"status\":\"SUCCESS\""; then
|
||||
_err "ERROR add TXT record"
|
||||
_err "$response"
|
||||
_clearaccountconf INTERNETBS_API_KEY
|
||||
_clearaccountconf INTERNETBS_API_PASSWORD
|
||||
return 1
|
||||
fi
|
||||
|
||||
@ -75,8 +73,6 @@ dns_internetbs_rm() {
|
||||
if ! _contains "$response" "\"status\":\"SUCCESS\""; then
|
||||
_err "ERROR list dns records"
|
||||
_err "$response"
|
||||
_clearaccountconf INTERNETBS_API_KEY
|
||||
_clearaccountconf INTERNETBS_API_PASSWORD
|
||||
return 1
|
||||
fi
|
||||
|
||||
@ -89,8 +85,6 @@ dns_internetbs_rm() {
|
||||
if ! _contains "$response" "\"status\":\"SUCCESS\""; then
|
||||
_err "ERROR remove dns record"
|
||||
_err "$response"
|
||||
_clearaccountconf INTERNETBS_API_KEY
|
||||
_clearaccountconf INTERNETBS_API_PASSWORD
|
||||
return 1
|
||||
fi
|
||||
|
||||
@ -118,8 +112,6 @@ _get_root() {
|
||||
if ! _contains "$response" "\"status\":\"SUCCESS\""; then
|
||||
_err "ERROR fetch domain list"
|
||||
_err "$response"
|
||||
_clearaccountconf INTERNETBS_API_KEY
|
||||
_clearaccountconf INTERNETBS_API_PASSWORD
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user