diff options
| author | tv <tv@krebsco.de> | 2026-11-09 15:29:06 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-09 18:15:56 +0100 |
| commit | 62b2f880a1a209e396d3adaef6a38395298011c6 (patch) | |
| tree | 2b3bb738755168096561f6dbc6e90f30e2573451 /src/swarm/refusals.rs | |
| parent | d7eaef8b94c13fb2da4c87e98dd2464a31b5c128 (diff) | |
access: an ended session recorded until the login's end
Review 4, F7: `DELETE /auth/session` recorded the session as ended until the
`session_exp` of the token it came with. A token handed to another member's dashboard
has its `session_exp` cut to its own end (five minutes), and so has the session that
dashboard keeps with it: logging out there recorded an end minutes away, the next
remake's snapshot left it out, and the original browser's tokens of the same session,
refreshable for days, were taken again.
A token now keeps the login's end as it logged in (`Claims::login_exp`), which no
refresh changes, and an ended session is recorded until then (or the token's
`session_exp`, if later, as for a token from before the field).
Diffstat (limited to 'src/swarm/refusals.rs')
0 files changed, 0 insertions, 0 deletions
