mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-10 11:36:06 +08:00
Pass username and password more securely to curl. Fix a quoting bug in remove_profile. (#709)
This commit is contained in:
@@ -7,4 +7,4 @@ jq -n \
|
||||
'.udid = $udid
|
||||
|.request_type = $request_type
|
||||
'|\
|
||||
curl $CURL_OPTS -u "micromdm:$API_TOKEN" "$SERVER_URL/$endpoint" -d@-
|
||||
curl $CURL_OPTS -K <(cat <<< "-u micromdm:$API_TOKEN") "$SERVER_URL/$endpoint" -d@-
|
||||
|
||||
Reference in New Issue
Block a user