mirror of
https://github.com/acmesh-official/acme.sh
synced 2025-08-30 13:58:33 +00:00
Changes as requested per Commit 9c90b21
In dnsapi/dns_dynu.sh line 115: export _H1="Authorization: Basic $(printf "%s" "$Dynu_ClientId:$Dynu_Secret" | _base64)" ^-- SC2155: Declare and assign separately to avoid masking return values.
This commit is contained in:
@@ -112,7 +112,9 @@ _dynu_rest() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_dynu_authentication() {
|
_dynu_authentication() {
|
||||||
export _H1="Authorization: Basic $(printf "%s" "$Dynu_ClientId:$Dynu_Secret" | _base64)"
|
realm = "$(printf "%s" "$Dynu_ClientId:$Dynu_Secret" | _base64)"
|
||||||
|
|
||||||
|
export _H1="Authorization: Basic $realm"
|
||||||
export _H2="Content-Type: application/json"
|
export _H2="Content-Type: application/json"
|
||||||
|
|
||||||
response="$(_get "$Dynu_EndPoint/oauth2/token")"
|
response="$(_get "$Dynu_EndPoint/oauth2/token")"
|
||||||
|
Reference in New Issue
Block a user