Browse Source

change "$url" -> $url so the value of $url gets passed by reference, and the string "$url" does not erroneously get passed as a variable into _post()

pull/3530/head
Christophe B Billheimer 3 years ago
parent
commit
3891a52aeb
  1. 2
      dnsapi/dns_1984hosting.sh

2
dnsapi/dns_1984hosting.sh

@ -145,7 +145,7 @@ _1984hosting_login() {
password=$(printf '%s' "$One984HOSTING_Password" | _url_encode)
url="https://management.1984hosting.com/accounts/checkuserauth/"
response="$(_post "username=$username&password=$password&otpkey=" "$url")"
response="$(_post "username=$username&password=$password&otpkey=" $url)"
response="$(echo "$response" | _normalizeJson)"
_debug2 response "$response"

Loading…
Cancel
Save