diff --git a/app/(app)/settings/page.tsx b/app/(app)/settings/page.tsx
index 0c57363..70e0466 100644
--- a/app/(app)/settings/page.tsx
+++ b/app/(app)/settings/page.tsx
@@ -13,7 +13,7 @@ export default async function SettingsPage() {
const [user, userRoles, ownedProducts, memberships] = await Promise.all([
prisma.user.findUnique({
where: { id: session.userId },
- select: { username: true, bio: true, bio_detail: true, avatar_data: true, updated_at: true },
+ select: { username: true, email: true, bio: true, bio_detail: true, avatar_data: true, updated_at: true },
}),
prisma.userRole.findMany({ where: { user_id: session.userId } }),
prisma.product.findMany({
@@ -58,6 +58,7 @@ export default async function SettingsPage() {
Niet beschikbaar in demo-modus.
) : (
(
hasAvatar ? `/api/profile/avatar?v=${avatarVersion}` : null
@@ -107,6 +108,23 @@ export function ProfileEditor({ bio, bioDetail, hasAvatar, avatarVersion }: Prof