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:
parent
be5bdd9d7e
commit
0c1c4c284d
1 changed files with 1 additions and 1 deletions
|
@ -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\"")
|
||||
|
||||
|
|
Loading…
Reference in a new issue