mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-07-04 05:32:44 +00:00
Persist dnsimple account id in config
This commit is contained in:
parent
a7df16db17
commit
294e6d32ee
@ -124,8 +124,9 @@ _get_root() {
|
|||||||
_get_account_id() {
|
_get_account_id() {
|
||||||
_debug "retrive account id"
|
_debug "retrive account id"
|
||||||
|
|
||||||
# shellcheck disable=SC2154
|
DNSimple_ACCOUNT_ID="${DNSimple_ACCOUNT_ID:-$(_readaccountconf_mutable DNSimple_ACCOUNT_ID)}"
|
||||||
if [ -n "$DNSimple_ACCOUNT_ID" ]; then
|
if [ -n "$DNSimple_ACCOUNT_ID" ]; then
|
||||||
|
_saveaccountconf_mutable DNSimple_ACCOUNT_ID "$DNSimple_ACCOUNT_ID"
|
||||||
_account_id="$DNSimple_ACCOUNT_ID"
|
_account_id="$DNSimple_ACCOUNT_ID"
|
||||||
else
|
else
|
||||||
if ! _dnsimple_rest GET "whoami"; then
|
if ! _dnsimple_rest GET "whoami"; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user