From 231e33e066d1299c8904eb359fd7ddc9222f0fa5 Mon Sep 17 00:00:00 2001 From: smanylov Date: Thu, 4 Dec 2025 14:20:54 +0700 Subject: [PATCH] change key --- src/app/lib/session.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/lib/session.ts b/src/app/lib/session.ts index 3b21674..41ee5a5 100644 --- a/src/app/lib/session.ts +++ b/src/app/lib/session.ts @@ -3,7 +3,8 @@ import { cookies } from 'next/headers' import { SignJWT, jwtVerify } from 'jose' /* import { SessionPayload } from '@/app/lib/definitions' */ -const secretKey = process.env.SESSION_SECRET +/* const secretKey = process.env.SESSION_SECRET */ +const secretKey = 'AAA+sq1yKte/gMgUUu/B/OyXqr45/LMYplPVOlWc+uo=' const encodedKey = new TextEncoder().encode(secretKey) export async function encrypt(payload: any) {