Merge branch 'main' into feat/journal-post-form
# Conflicts: # scripts/test-form-config.sh # scripts/test-post.sh
This commit is contained in:
@@ -53,7 +53,10 @@ LOGIN_NONCE=$(echo "$LOGIN_HTML" | grep -o 'name="login-form-nonce" value="[^"]*
|
||||
LOGIN_STATUS=$(curl -sf -o /dev/null -w "%{http_code}" \
|
||||
-c "$COOKIE_JAR" -b "$COOKIE_JAR" \
|
||||
-L \
|
||||
-d "username=${USER}&password=${PASS}&login-form-nonce=${LOGIN_NONCE}&task=login.login" \
|
||||
--data-urlencode "username=${USER}" \
|
||||
--data-urlencode "password=${PASS}" \
|
||||
--data-urlencode "login-form-nonce=${LOGIN_NONCE}" \
|
||||
--data-urlencode "task=login.login" \
|
||||
"$BASE_URL/login")
|
||||
|
||||
# After login, fetch /post and verify we see the post form (not the login form)
|
||||
|
||||
Reference in New Issue
Block a user