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
3441bd0e
You need to sign in or sign up before continuing.
Unverified
Commit
3441bd0e
authored
Oct 30, 2019
by
stilez
Committed by
GitHub
Oct 30, 2019
Browse files
improve _err message and remove a dubious _debug message.
parent
05ced9fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_pleskxml.sh
View file @
3441bd0e
...
@@ -297,15 +297,13 @@ _credential_check() {
...
@@ -297,15 +297,13 @@ _credential_check() {
pleskxml_pass
=
"
${
pleskxml_pass
:-
$(
_readaccountconf_mutable pleskxml_pass
)
}
"
pleskxml_pass
=
"
${
pleskxml_pass
:-
$(
_readaccountconf_mutable pleskxml_pass
)
}
"
pleskxml_uri
=
"
${
pleskxml_uri
:-
$(
_readaccountconf_mutable pleskxml_uri
)
}
"
pleskxml_uri
=
"
${
pleskxml_uri
:-
$(
_readaccountconf_mutable pleskxml_uri
)
}
"
_debug
"Credentials - User: '
${
pleskxml_user
}
' Passwd: ****** URI: '
${
pleskxml_uri
}
'"
if
[
-z
"
$pleskxml_user
"
]
||
[
-z
"
$pleskxml_pass
"
]
||
[
-z
"
$pleskxml_uri
"
]
;
then
if
[
-z
"
$pleskxml_user
"
]
||
[
-z
"
$pleskxml_pass
"
]
||
[
-z
"
$pleskxml_uri
"
]
;
then
pleskxml_user
=
""
pleskxml_user
=
""
pleskxml_pass
=
""
pleskxml_pass
=
""
pleskxml_uri
=
""
pleskxml_uri
=
""
_err
"You didn't specify one or more of the Plesk XML API username, password, or URI."
_err
"You didn't specify one or more of the Plesk XML API username, password, or URI."
_err
"Please create these and try again."
_err
"Please create these and try again."
_err
"Instructions are in the
module source code
."
_err
"Instructions are in the
'dns_pleskxml' plugin source code or in the acme.sh documentation
."
return
1
return
1
fi
fi
...
...
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