Update dns_cloudns.sh

fix
This commit is contained in:
Yakumo Ran 2024-05-05 15:43:40 +00:00 committed by GitHub
parent 0d8a314bcf
commit 3d617fbf24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,7 +129,7 @@ _dns_cloudns_init_check() {
return 1 return 1
fi fi
_dns_cloudns_http_api_call "dns/login.json" "" _dns_cloudns_http_api_call "login/login.json" ""
if ! _contains "$response" "\"status\":\"Success\""; then 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. Please check your login credentials."