Explorar o código

fix https://github.com/Neilpang/acme.sh/issues/2300

neilpang %!s(int64=6) %!d(string=hai) anos
pai
achega
c83f2f98bd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dnsapi/dns_ovh.sh

+ 1 - 1
dnsapi/dns_ovh.sh

@@ -121,7 +121,7 @@ _initAuth() {
 
   _info "Checking authentication"
 
-  if ! _ovh_rest GET "domain" || _contains "$response" "INVALID_CREDENTIAL"; then
+  if ! _ovh_rest GET "domain" || _contains "$response" "INVALID_CREDENTIAL" || _contains "$response" "NOT_CREDENTIAL"; then
     _err "The consumer key is invalid: $OVH_CK"
     _err "Please retry to create a new one."
     _clearaccountconf OVH_CK