From 68be8d60217dc0127a11a1b81afae4a96c66ffd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Grutle?= Date: Wed, 3 Jul 2024 09:45:20 +0200 Subject: [PATCH] feat(login): redirect to boards when logging in (#1566) --- next-tavla/app/(admin)/components/Login/actions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/next-tavla/app/(admin)/components/Login/actions.ts b/next-tavla/app/(admin)/components/Login/actions.ts index 72ca2cff3..6f9872983 100644 --- a/next-tavla/app/(admin)/components/Login/actions.ts +++ b/next-tavla/app/(admin)/components/Login/actions.ts @@ -32,6 +32,7 @@ export async function login(token: string) { sameSite: 'strict', path: '/', }) + redirect('/boards') } export async function create(uid: TUserID) {