mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-09 00:13:17 +08:00
Revert change
This commit is contained in:
@@ -17,7 +17,7 @@ dns_neodigit_add() {
|
|||||||
fulldomain=$1
|
fulldomain=$1
|
||||||
txtvalue=$2
|
txtvalue=$2
|
||||||
|
|
||||||
NEODIGIT_API_TOKEN="$(_readaccountconf_mutable NEODIGIT_API_TOKEN)}"
|
NEODIGIT_API_TOKEN="${NEODIGIT_API_TOKEN:-$(_readaccountconf_mutable NEODIGIT_API_TOKEN)}"
|
||||||
if [ -z "$NEODIGIT_API_TOKEN" ]; then
|
if [ -z "$NEODIGIT_API_TOKEN" ]; then
|
||||||
NEODIGIT_API_TOKEN=""
|
NEODIGIT_API_TOKEN=""
|
||||||
_err "You haven't specified a Token api key."
|
_err "You haven't specified a Token api key."
|
||||||
@@ -73,7 +73,7 @@ dns_neodigit_rm() {
|
|||||||
fulldomain=$1
|
fulldomain=$1
|
||||||
txtvalue=$2
|
txtvalue=$2
|
||||||
|
|
||||||
NEODIGIT_API_TOKEN="$(_readaccountconf_mutable NEODIGIT_API_TOKEN)}"
|
NEODIGIT_API_TOKEN="${NEODIGIT_API_TOKEN:-$(_readaccountconf_mutable NEODIGIT_API_TOKEN)}"
|
||||||
if [ -z "$NEODIGIT_API_TOKEN" ]; then
|
if [ -z "$NEODIGIT_API_TOKEN" ]; then
|
||||||
NEODIGIT_API_TOKEN=""
|
NEODIGIT_API_TOKEN=""
|
||||||
_err "You haven't specified a Token api key."
|
_err "You haven't specified a Token api key."
|
||||||
|
|||||||
Reference in New Issue
Block a user