mirror of
https://github.com/urbit/shrub.git
synced 2024-11-29 14:57:12 +03:00
00e3159287
Instead of setting a timer for every session, we set a single expiry timer when the first session is created. On the subsequent wake event, we clear all cookies that have expired at that time, then set a timer for when the next session expires. This approach gives us flexibility wrt sessions going forward, allowing extending or early deleting of sessions without having to care about the related timers. Note that in +load, we clear all existing sessions. We would start the expiry timer flow there, but can't. Forcing the user to login again post-ota once isn't the end of the world. |
||
---|---|---|
.. | ||
ames.hoon | ||
behn.hoon | ||
clay.hoon | ||
dill.hoon | ||
eyre.hoon | ||
ford.hoon | ||
gall.hoon | ||
iris.hoon | ||
jael.hoon |