1
0
mirror of https://github.com/hiskang/acme.sh synced 2025-07-26 03:07:03 +00:00

check UNABLE_TO_AUTHENTICATE

This commit is contained in:
neilpang 2018-06-12 21:19:27 +08:00
parent 206be3c161
commit f90a2ae195

View File

@ -168,5 +168,9 @@ _gd_rest() {
return 1
fi
_debug2 response "$response"
if _contains "$response" "UNABLE_TO_AUTHENTICATE"; then
_err "It seems that your api key or secret is not correct."
return 1
fi
return 0
}