1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/question2answer_ynh.git synced 2024-09-03 20:16:07 +02:00

no progress meter for local curl

This commit is contained in:
Salamandar 2024-02-26 15:19:12 +01:00
parent b2345fedaf
commit 718663e841

View file

@ -49,7 +49,7 @@ ynh_local_curl_csrf () {
fi
# Curl the URL for the CSRF token
data=$(curl --show-error --insecure --location --header "Host: $domain" --resolve $domain:443:127.0.0.1 "$full_page_url" --cookie-jar $cookiefile --cookie $cookiefile)
data=$(curl --no-progress-meter --show-error --insecure --location --header "Host: $domain" --resolve $domain:443:127.0.0.1 "$full_page_url" --cookie-jar $cookiefile --cookie $cookiefile)
local code_line=$(echo "$data" | grep "input name=\"code\"")