mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-09 09:59:18 +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() {
|
||||
_debug "retrive account id"
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
DNSimple_ACCOUNT_ID="${DNSimple_ACCOUNT_ID:-$(_readaccountconf_mutable DNSimple_ACCOUNT_ID)}"
|
||||
if [ -n "$DNSimple_ACCOUNT_ID" ]; then
|
||||
_saveaccountconf_mutable DNSimple_ACCOUNT_ID "$DNSimple_ACCOUNT_ID"
|
||||
_account_id="$DNSimple_ACCOUNT_ID"
|
||||
else
|
||||
if ! _dnsimple_rest GET "whoami"; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user