Browse Source

Yet another fix.

pull/1318/head
raidenii 7 years ago
parent
commit
3e1a94cbcd
  1. 2
      dnsapi/dns_namecom.sh

2
dnsapi/dns_namecom.sh

@ -30,7 +30,7 @@ _saveaccountconf Namecom_Token "$Namecom_Token"
# Auth string # Auth string
# Name.com API v4 uses http basic auth to authenticate # Name.com API v4 uses http basic auth to authenticate
# need to convert the token for http auth # need to convert the token for http auth
_namecom_auth=$(printf "$Namecom_Username:$Namecom_Token" | base64)
_namecom_auth=$(printf "%s:%s" "$Namecom_Username" "$Namecom_Token" | base64)
#Usage: dns_namecom_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs" #Usage: dns_namecom_add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs"
dns_namecom_add() { dns_namecom_add() {

Loading…
Cancel
Save