Added Connection Component, Store, JWT logic

This commit is contained in:
PxlLoewe
2025-03-14 19:46:09 -07:00
parent d7e4ae468d
commit abf3475c7c
9 changed files with 65 additions and 21 deletions

View File

@@ -63,7 +63,7 @@ export const options: AuthOptions = {
adapter: PrismaAdapter(prisma as any),
callbacks: {
jwt: async ({ token, user }) => {
jwt: async ({ token, user, ...rest }) => {
if (user && "firstname" in user) {
return {
...token,