forked from mtusi2026/mtusi2026lab3
4 lines
230 B
Plaintext
4 lines
230 B
Plaintext
$ docker compose run --rm -d --no-deps -e SESSION_TTL_SECONDS=2 -p 127.0.0.1:18083:8080 api
|
|
$ python3 student-tests/expiry.py --base-url http://localhost:18083
|
|
PASS: session expires with TTL=2; expired token cannot read or logout
|