mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
now with "_saveaccountconf_mutable"
_saveaccountconf_mutable instead of _saveaccountconf now used. Co-Authored-By: kapper.net support account <33451837+kappernet@users.noreply.github.com>
This commit is contained in:
parent
fb05a42d2e
commit
f131863642
@ -26,8 +26,8 @@ dns_kappernet_add() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#store the api key and email to the account conf file.
|
#store the api key and email to the account conf file.
|
||||||
_saveaccountconf KAPPERNETDNS_Key "$KAPPERNETDNS_Key"
|
_saveaccountconf_mutable KAPPERNETDNS_Key "$KAPPERNETDNS_Key"
|
||||||
_saveaccountconf KAPPERNETDNS_Secret "$KAPPERNETDNS_Secret"
|
_saveaccountconf_mutable KAPPERNETDNS_Secret "$KAPPERNETDNS_Secret"
|
||||||
_debug "Checking Domain ..."
|
_debug "Checking Domain ..."
|
||||||
if ! _get_root "$fullhostname"; then
|
if ! _get_root "$fullhostname"; then
|
||||||
_err "invalid domain"
|
_err "invalid domain"
|
||||||
@ -69,8 +69,8 @@ dns_kappernet_rm() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#store the api key and email to the account conf file.
|
#store the api key and email to the account conf file.
|
||||||
_saveaccountconf KAPPERNETDNS_Key "$KAPPERNETDNS_Key"
|
_saveaccountconf_mutable KAPPERNETDNS_Key "$KAPPERNETDNS_Key"
|
||||||
_saveaccountconf KAPPERNETDNS_Secret "$KAPPERNETDNS_Secret"
|
_saveaccountconf_mutable KAPPERNETDNS_Secret "$KAPPERNETDNS_Secret"
|
||||||
|
|
||||||
_info "Trying to remove the TXT Record: $fullhostname"
|
_info "Trying to remove the TXT Record: $fullhostname"
|
||||||
data="%7B%22name%22%3A%22$fullhostname%22%2C%22type%22%3A%22TXT%22%2C%22content%22%3A%22$txtvalue%22%2C%22ttl%22%3A%223600%22%2C%22prio%22%3A%22%22%7D"
|
data="%7B%22name%22%3A%22$fullhostname%22%2C%22type%22%3A%22TXT%22%2C%22content%22%3A%22$txtvalue%22%2C%22ttl%22%3A%223600%22%2C%22prio%22%3A%22%22%7D"
|
||||||
|
Loading…
Reference in New Issue
Block a user