mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-09 00:13:17 +08:00
Save account information differently
This commit is contained in:
@@ -22,7 +22,7 @@ dns_qc_add() {
|
|||||||
QC_API_EMAIL="${QC_API_EMAIL:-$(_readaccountconf_mutable QC_API_EMAIL)}"
|
QC_API_EMAIL="${QC_API_EMAIL:-$(_readaccountconf_mutable QC_API_EMAIL)}"
|
||||||
|
|
||||||
if [ "$QC_API_KEY" ]; then
|
if [ "$QC_API_KEY" ]; then
|
||||||
_savedomainconf QC_API_KEY "$QC_API_KEY"
|
_saveaccountconf_mutable QC_API_KEY "$QC_API_KEY"
|
||||||
else
|
else
|
||||||
_err "You didn't specify a QUIC.cloud api key as QC_API_KEY."
|
_err "You didn't specify a QUIC.cloud api key as QC_API_KEY."
|
||||||
_err "You can get yours from here https://my.quic.cloud/up/api."
|
_err "You can get yours from here https://my.quic.cloud/up/api."
|
||||||
@@ -35,7 +35,7 @@ dns_qc_add() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
#save the api key and email to the account conf file.
|
#save the api key and email to the account conf file.
|
||||||
_savedomainconf QC_API_EMAIL "$QC_API_EMAIL"
|
_saveaccountconf_mutable QC_API_EMAIL "$QC_API_EMAIL"
|
||||||
|
|
||||||
_debug "First detect the root zone"
|
_debug "First detect the root zone"
|
||||||
if ! _get_root "$fulldomain"; then
|
if ! _get_root "$fulldomain"; then
|
||||||
|
|||||||
Reference in New Issue
Block a user