Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🐛 Update name in session (#1559)
Luke Vella8519631c96ca
diff --git a/apps/web/src/next-auth.ts b/apps/web/src/next-auth.tsindex 2e2564c72..ddfb83bc1 100644--- a/apps/web/src/next-auth.ts+++ b/apps/web/src/next-auth.ts@@ -145,6 +145,7 @@ export const { auth, handlers, signIn, signOut } = NextAuth({id: userId,},select: {+ name: true,email: true,locale: true,timeFormat: true,@@ -154,6 +155,7 @@ export const { auth, handlers, signIn, signOut } = NextAuth({});if (user) {+ token.name = user.name;token.email = user.email;token.locale = user.locale;token.timeFormat = user.timeFormat;