diff options
| author | tv <tv@krebsco.de> | 2026-11-09 12:11:26 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-09 13:14:29 +0100 |
| commit | b0e711f9f7e0d2d9f6b39dd987004d2f9b1dcda7 (patch) | |
| tree | cb3577e15b1f0e383d2899840893c30f9eaf19e4 /src/simtest/timing.rs | |
| parent | c9cc9bc0cb03ce6471804f0e66967d94978898ee (diff) | |
dashboard: nothing shown or read after logging out, back button included
After "log out" the page went to the login page, and the browser's back button brought
it back as it was (kept whole in its history): the map, the peers and the console went
on updating, by the stream it still had open and the subscriptions' token it still
held, though the session had ended (the document box, reading anew, got 401s).
Now leaving for the login page (`toLogin`: logging out, or the login ending) stops the
page's reading first: its stream, its subscriptions, its timers and tokens. And a page
the browser brings back whole (`pageshow`, `persisted`) loads again instead, so it
reads with the session it has now, and without one goes to the login page.
Diffstat (limited to 'src/simtest/timing.rs')
0 files changed, 0 insertions, 0 deletions
