Updates will be applied on October 27th between 12pm - 12:45pm EDT (UTC-0400). Gitlab may be slow during the maintenance window.

Commit aa0288c7 authored by Baptiste CHOCOT's avatar Baptiste CHOCOT
Browse files

auth is now passed as header

parent f02fc229
Pipeline #230582 passed with stage
in 24 seconds
......@@ -19,7 +19,7 @@ cd "./$archive_dir"
options="-O -J -L"
if [[ -n "$token" ]]; then
curl "Authorization: Bearer $token" $options $url
curl -H "Authorization: Bearer $token" $options $url
else
if [[ $user != "None" ]] && [[ $password != "None" ]];then
curl $options -u $user:$password $url
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment