Skip to content

Commit e4e4c3a

Browse files
committed
fix
1 parent 63a84c1 commit e4e4c3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ 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" | sed -n 's/.*_csrf_token.*value="\(.*\)".*/\1/p')
70+
CSRFTOKEN=$(curl $CURLOPTS -c /tmp/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
72-
curl $CURLOPTS -c $COOKIEJAR -F "_csrf_token=$CSRFTOKEN" -F "_username=admin" -F "_password=password" "http://localhost/domjudge/login"
72+
curl $CURLOPTS -c /tmp/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.
7474
curl $CURLOPTS -F "sendto=" -F "problem=1-" -F "bodytext=Testing" -F "submit=Send" \
7575
"http://localhost/domjudge/jury/clarifications/send" -o /dev/null

0 commit comments

Comments
 (0)