Browse Source
Merge pull request #1669 from Neilpang/dev
check UNABLE_TO_AUTHENTICATE
pull/1687/head
neil
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
dnsapi/dns_gd.sh
|
@ -168,5 +168,9 @@ _gd_rest() { |
|
|
return 1 |
|
|
return 1 |
|
|
fi |
|
|
fi |
|
|
_debug2 response "$response" |
|
|
_debug2 response "$response" |
|
|
|
|
|
if _contains "$response" "UNABLE_TO_AUTHENTICATE"; then |
|
|
|
|
|
_err "It seems that your api key or secret is not correct." |
|
|
|
|
|
return 1 |
|
|
|
|
|
fi |
|
|
return 0 |
|
|
return 0 |
|
|
} |
|
|
} |