dns_cloudns: include the server response in the login error

https://github.com/acmesh-official/acme.sh/issues/6520
This commit is contained in:
neil 2026-07-12 09:34:59 +08:00
parent 04e0422526
commit 22a5ae3ceb

View file

@ -135,7 +135,7 @@ _dns_cloudns_init_check() {
_dns_cloudns_http_api_call "dns/login.json" ""
if ! _contains "$response" "\"status\":\"Success\""; then
_err "Invalid CLOUDNS_AUTH_ID or CLOUDNS_AUTH_PASSWORD. Please check your login credentials."
_err "Invalid CLOUDNS_AUTH_ID or CLOUDNS_AUTH_PASSWORD. Server response: $response"
return 1
fi