Public: anyone can read this; the crew can change it.
A test pins session cookies: a forged, expired or signed-out session reads as signed out everywhere #7169
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
sessionUserinsrc/core/sessions.tsanswersinvalid_sessionfor a token it does not accept, and no test names it.Done:
invalid_session./and 401 onGET /api/v1/user.Files: test/session-refusals.test.ts
If the test finds the behaviour wrong, fix the module it names in the same pull and say so. If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.
Before pushing:
bun x tsc --noEmitand the new test.