final user account polish

This commit is contained in:
makearmy 2025-09-30 20:13:51 -04:00
parent aba6727306
commit d05dc3eab6

View file

@ -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");
}