Skip to content

Commit 63a84c1

Browse files
committed
fix
1 parent 2e8bc67 commit 63a84c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
run: |
6868
export CURLOPTS="--fail -sq -m 30 -b /tmp/cookiejar"
6969
# Make an initial request which will get us a session id, and grab the csrf token from it
70-
CSRFTOKEN=$(curl $CURLOPTS -c $COOKIEJAR "http://localhost/domjudge/login" 2>/dev/null | sed -n 's/.*_csrf_token.*value="\(.*\)".*/\1/p')
70+
CSRFTOKEN=$(curl $CURLOPTS -c $COOKIEJAR "http://localhost/domjudge/login" | sed -n 's/.*_csrf_token.*value="\(.*\)".*/\1/p')
7171
# Make a second request with our session + csrf token to actually log in
7272
curl $CURLOPTS -c $COOKIEJAR -F "_csrf_token=$CSRFTOKEN" -F "_username=admin" -F "_password=password" "http://localhost/domjudge/login"
7373
# Send a general clarification to later test if we see the event.

0 commit comments

Comments
 (0)