An open page no longer keeps an idle session alive; tokens compare in constant time
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
Auth.session takes `touch`: the live-update stream (live.mjs) and revision polling (GET /api/timelines/:id/revision) pass false, so what a page does on its own while left open no longer refreshes the session's last-seen time, and the one-day idle limit holds for a tab left open. The CSRF token and the sign-in page's browser nonce are compared with sameToken (timingSafeEqual) instead of !==. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/5f30589238ed117331af72e5a1f66b6c7827a50d