Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1792·lucia

2FA example: Looks like we are not extending session cookie.

Author: vsDizzyCreated May 1, 2025Updated May 1, 2025

It looks like we are not extending session cookie lifetime. And new expiration date is set only in db. https://github.com/lucia-auth/example-nextjs-email-password-2fa/blob/main/lib/server/session.ts#L40

Source: lucia-auth/lucia

View original on GitHubView discussion on GitHub