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

curl not silent

This commit is contained in:
Salamandar 2024-01-24 12:16:10 +01:00
parent be5bdd9d7e
commit 0c1c4c284d

View file

@ -49,7 +49,7 @@ ynh_local_curl_csrf () {
fi
# Curl the URL for the CSRF token
data=$(curl --silent --show-error --insecure --location --header "Host: $domain" --resolve $domain:443:127.0.0.1 "$full_page_url" --cookie-jar $cookiefile --cookie $cookiefile)
data=$(curl --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\"")