Ver código fonte

Merge pull request #4184 from Maxime-J/dnsapi-ovh

dns_ovh: save OVH_CK in all cases
neil 3 anos atrás
pai
commit
11582bc7d3
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      dnsapi/dns_ovh.sh

+ 1 - 1
dnsapi/dns_ovh.sh

@@ -118,6 +118,7 @@ _initAuth() {
     #return and wait for retry.
     return 1
   fi
+  _saveaccountconf OVH_CK "$OVH_CK"
 
   _info "Checking authentication"
 
@@ -235,7 +236,6 @@ _ovh_authentication() {
   _secure_debug consumerKey "$consumerKey"
 
   OVH_CK="$consumerKey"
-  _saveaccountconf OVH_CK "$OVH_CK"
 
   _info "Please open this link to do authentication: $(__green "$validationUrl")"