From aea3a1d38f7b470db1469bfaa8cac9b61b02f3c6 Mon Sep 17 00:00:00 2001 From: Bagasbanuna02 Date: Tue, 3 Oct 2023 09:45:21 +0800 Subject: [PATCH] title: auto des: auto note:auto --- src/app/dev/home/page.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/dev/home/page.tsx b/src/app/dev/home/page.tsx index 2a43fb7f..ab5679e5 100644 --- a/src/app/dev/home/page.tsx +++ b/src/app/dev/home/page.tsx @@ -6,13 +6,13 @@ import { redirect } from "next/navigation"; export default async function Page() { const c = cookies().get("ssn"); - const tkn = !c - ? null - : JSON.parse( - await unsealData(c.value as string, { - password: process.env.PWD as string, - }) - ); + // const tkn = !c + // ? null + // : JSON.parse( + // await unsealData(c.value as string, { + // password: process.env.PWD as string, + // }) + // ); if (!c?.value) return redirect("/dev/auth/login");