fix: persist refresh cookie across browser restarts (WealthLedger/backend#123) #124

Merged
codex-bot merged 2 commits from fix/123-refresh-cookie-max-age into develop 2026-10-23 08:34:39 +03:00
2 Commits
Author SHA1 Message Date
ksv741 ec934a34b5 chore: bump Node to 24.22.1 (WealthLedger/backend#122)
Backend verify / commits (pull_request) Successful in 28s
Backend verify / security (pull_request) Successful in 8s
Backend verify / verify (pull_request) Successful in 4m58s
Fixes the better-sqlite3 GC abort (nodejs/node#63985) in Node
24.19.0-24.21.x. Keeps all repositories on the same Node version.
2026-10-23 08:15:41 +03:00
ksv741 4ae2db225d fix: persist refresh cookie across browser restarts (WealthLedger/backend#123)
The refresh cookie had no Max-Age, so browsers dropped it on close
while the Session stayed valid for 7 days. Set maxAge from
REFRESH_TTL_MS, the same constant behind Session.expiresAt.
2026-10-23 08:15:41 +03:00