Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
86dd4ea4
Commit
86dd4ea4
authored
Aug 08, 2022
by
neil
Browse files
fix
https://github.com/acmesh-official/acme.sh/issues/4231
parent
204e5f44
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_ovh.sh
View file @
86dd4ea4
...
...
@@ -92,7 +92,7 @@ _initAuth() {
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
_clearaccountconf
_mutable
OVH_CK
fi
_saveaccountconf_mutable OVH_AK
"
$OVH_AK
"
_saveaccountconf_mutable OVH_AS
"
$OVH_AS
"
...
...
@@ -125,7 +125,7 @@ _initAuth() {
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
_clearaccountconf
_mutable
OVH_CK
return
1
fi
_info
"Consumer key is ok."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment