From d05dc3eab646dca4e6079cc0dd83731935cd2d6b Mon Sep 17 00:00:00 2001 From: makearmy Date: Tue, 30 Sep 2025 20:13:51 -0400 Subject: [PATCH] final user account polish --- app/auth/sign-in/page.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/auth/sign-in/page.tsx b/app/auth/sign-in/page.tsx index a8b565ac..59709b12 100644 --- a/app/auth/sign-in/page.tsx +++ b/app/auth/sign-in/page.tsx @@ -20,7 +20,8 @@ export default async function SignInPage({ // If reauth is requested, always render the form (no redirect). if (!reauth) { - const at = cookies().get("ma_at")?.value; + const ck = await cookies(); + const at = ck.get("ma_at")?.value; if (at) redirect("/portal"); }