Skip to content

Commit

Permalink
feat(login): redirect to boards when logging in (#1566)
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindgrutle authored Jul 3, 2024
1 parent 4c8f516 commit 68be8d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions next-tavla/app/(admin)/components/Login/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export async function login(token: string) {
sameSite: 'strict',
path: '/',
})
redirect('/boards')
}

export async function create(uid: TUserID) {
Expand Down

0 comments on commit 68be8d6

Please sign in to comment.