Files
accountkit/test
CatoandClaude afcbfe20b4 Add a product-chosen idle limit for named people's sessions (#43)
better-auth refreshes every session to one shared lifetime, so a product
that needs a stricter rule for some people (AOZ staff on 8 hours) could
not keep it: a shorter expiry written from outside was undone on the next
request. sessionLifetime(userId) takes the refresh over for the people it
names: idle past the limit ends the session, activity slides it at most
hourly, and the 14-day refresh no longer applies. Everyone else keeps
the default.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-29 08:36:09 +01:00
..