change $@ -> $_domain

This commit is contained in:
Christophe B Billheimer 2021-09-12 14:10:15 -04:00
parent 622464ff5e
commit 8d7a487013
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ _htmlget() {
# add extra headers to request
_authpost() {
_get_zone_id "$@"
_get_zone_id "$_domain"
csrf_header="$(echo "$One984HOSTING_CSRFTOKEN_COOKIE" | _egrep_o "=[^=][0-9a-zA-Z]*" | tr -d "=")"
export _H1="Cookie: $One984HOSTING_CSRFTOKEN_COOKIE;$One984HOSTING_SESSIONID_COOKIE"
export _H2="Referer: https://management.1984hosting.com/domains/$_zone_id"