Pass username and password more securely to curl. Fix a quoting bug in remove_profile. (#709)

This commit is contained in:
meta-github
2020-10-01 16:03:29 +02:00
committed by GitHub
parent 648b7894df
commit 9e0d5ed6f8
28 changed files with 29 additions and 29 deletions

View File

@@ -11,4 +11,4 @@ jq -n \
'|\
curl $CURL_OPTS \
-H "Content-Type: application/json" \
-u "micromdm:$API_TOKEN" "$SERVER_URL/$endpoint" -d@-
-K <(cat <<< "-u micromdm:$API_TOKEN") "$SERVER_URL/$endpoint" -d@-