Skip to content

Commit

Permalink
fix: get user email from database
Browse files Browse the repository at this point in the history
  • Loading branch information
asabotovich committed Mar 26, 2024
1 parent 5195b09 commit 9a25bd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export const authOptions: NextAuthOptions = {
role: token?.role || user.role,
name: dbUser?.name,
nickname: dbUser?.nickname,
email: dbUser?.email,
activityId: dbUserActivity?.id,
settings: dbUserActivity?.settings,
},
Expand Down

0 comments on commit 9a25bd9

Please sign in to comment.