Update login scripts, add script for XHR login interface.
[?]
Oct 6, 2020, 3:47 AM
Z7CQXTU7NE5TPNLSYN3IQQBSY7IFPCXT3IHVUUSSQCBT24PIXWSACDependencies
- [2]
NJNMO72SAdd zcash.com submodule and update client to modern halogen. - [*]
PBD7LZYQPostgres & auth are beginning to function.
Change contents
- file addition: login-xhr.sh[4.1220]
#!/bin/bashif [ -f ".env" ]; thensource .envfiif [ -z "${AFTOK_HOST}" ]; thenAFTOK_HOST="aftok.com"fiif [ -z "${USER}" ]; thenread -p "Username: " USERechofiif [ -z "${PASS}" ]; thenread -sp "Password: " PASSechoficurl --verbose \--request POST \--data "{\"username\": \"${USER}\", \"password\":\"${PASS}\"}" \"https://$AFTOK_HOST/api/login" - replacement in scripts/login.sh at line 16
curl --verbose --insecure --user $USER \--request POST \--data '' \curl --verbose --user $USER \ - edit in scripts/login.sh at line 18