소스 검색

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

dns_ovh: save OVH_CK in all cases
neil 3 년 전
부모
커밋
11582bc7d3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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")"