From d691db17508d8b1bfb2c920e07cbfee7359e42a1 Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 1 Jul 2022 15:08:43 -0600 Subject: [PATCH] Changed authentication to use /api/authenticatev3.php --- upload-archive-cl.sh | 2 +- upload-archive.sh | 4 ++-- upload-symbols.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/upload-archive-cl.sh b/upload-archive-cl.sh index f2d7958..7579b53 100755 --- a/upload-archive-cl.sh +++ b/upload-archive-cl.sh @@ -74,7 +74,7 @@ echo "Signing into bugsplat and storing session cookie for use in upload" >> $LO COOKIEPATH="/tmp/bugsplat-cookie.txt" rm "${COOKIEPATH}" -curl -b "${COOKIEPATH}" -c "${COOKIEPATH}" --data-urlencode "currusername=${BUGSPLAT_USER}" --data-urlencode "currpasswd=${BUGSPLAT_PASS}" "${BUGSPLAT_SERVER_URL}/browse/login.php" +curl -b "${COOKIEPATH}" -c "${COOKIEPATH}" --data-urlencode "email=${BUGSPLAT_USER}" --data-urlencode "password=${BUGSPLAT_PASS}" "${BUGSPLAT_SERVER_URL}/api/authenticatev3.php" echo "Uploading /tmp/${PRODUCT_NAME}.xcarchive.zip to ${UPLOAD_URL}" >> $LOG 2>&1 diff --git a/upload-archive.sh b/upload-archive.sh index df5723f..6613240 100755 --- a/upload-archive.sh +++ b/upload-archive.sh @@ -65,10 +65,10 @@ echo "UUID found: ${UUID_CMD_OUT}" > $LOG 2>&1 echo "Signing into bugsplat and storing session cookie for use in upload" >> $LOG 2>&1 COOKIEPATH="/tmp/bugsplat-cookie.txt" -LOGIN_URL="${BUGSPLAT_SERVER_URL}/browse/login.php" +LOGIN_URL="${BUGSPLAT_SERVER_URL}/api/authenticatev3.php" echo "Login URL: ${LOGIN_URL}" rm "${COOKIEPATH}" -curl -b "${COOKIEPATH}" -c "${COOKIEPATH}" --data-urlencode "currusername=${BUGSPLAT_USER}" --data-urlencode "currpasswd=${BUGSPLAT_PASS}" "${LOGIN_URL}" +curl -b "${COOKIEPATH}" -c "${COOKIEPATH}" --data-urlencode "email=${BUGSPLAT_USER}" --data-urlencode "password=${BUGSPLAT_PASS}" "${LOGIN_URL}" echo "Uploading /tmp/${PRODUCT_NAME}.xcarchive.zip to ${UPLOAD_URL}" >> $LOG 2>&1 diff --git a/upload-symbols.sh b/upload-symbols.sh index f30446e..1a8e5b2 100755 --- a/upload-symbols.sh +++ b/upload-symbols.sh @@ -115,10 +115,10 @@ echo "UUID found: ${UUID_CMD_OUT}" echo "Signing into bugsplat and storing session cookie for use in upload" COOKIEPATH="/tmp/bugsplat-cookie.txt" -LOGIN_URL="${BUGSPLAT_SERVER_URL}/browse/login.php" +LOGIN_URL="${BUGSPLAT_SERVER_URL}/api/authenticatev3.php" echo "Login URL: ${LOGIN_URL}" rm "${COOKIEPATH}" -curl -b "${COOKIEPATH}" -c "${COOKIEPATH}" --data-urlencode "currusername=${BUGSPLAT_USER}" --data-urlencode "currpasswd=${BUGSPLAT_PASS}" "${LOGIN_URL}" +curl -b "${COOKIEPATH}" -c "${COOKIEPATH}" --data-urlencode "email=${BUGSPLAT_USER}" --data-urlencode "password=${BUGSPLAT_PASS}" "${LOGIN_URL}" echo "Uploading ${FILE} to ${UPLOAD_URL}"