feat: expire sessions after inactivity #38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/idle-session-expiry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/api/treepoll stays signed in.sessionTtlHours(24 hours by default).Max-Agebecause it must outlive the server-side idle timeout. The server remains the source of truth and rejects an idle session even if the browser still has the token.Test plan
cargo test --workspaceactivity_extends_the_sessionMax-Age