Browse Source

fix https://github.com/Neilpang/acme.sh/issues/1145#issuecomment-365863118

neilpang 7 năm trước cách đây
mục cha
commit
abd0dad2bf
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      dnsapi/dns_ovh.sh

+ 4 - 0
dnsapi/dns_ovh.sh

@@ -90,6 +90,10 @@ _initAuth() {
     return 1
   fi
 
+  if [ "$OVH_AK" != "$(_readaccountconf OVH_AK)" ]; then
+    _info "It seems that your ovh key is changed, let's clear consumer key first."
+    _clearaccountconf OVH_CK
+  fi
   _saveaccountconf_mutable OVH_AK "$OVH_AK"
   _saveaccountconf_mutable OVH_AS "$OVH_AS"