upgraded to next 15 and react 19.
CI / test (push) Successful in 5s

This commit is contained in:
2026-01-30 22:22:41 -05:00
parent 4267c34399
commit 4989bf6de4
73 changed files with 2353 additions and 463 deletions
+2 -1
View File
@@ -26,7 +26,8 @@ export async function POST(request: NextRequest) {
// Set HTTP-only cookie on successful registration
if (data.token) {
cookies().set('session_token', data.token, {
const cookieStore = await cookies();
cookieStore.set('session_token', data.token, {
httpOnly: true,
secure: process.env.NODE_ENV === 'production',
sameSite: 'lax',