diff --git a/packages/core/admin/server/src/domain/user.ts b/packages/core/admin/server/src/domain/user.ts index 640347759f..d540edf16d 100644 --- a/packages/core/admin/server/src/domain/user.ts +++ b/packages/core/admin/server/src/domain/user.ts @@ -25,7 +25,14 @@ export const hasSuperAdminRole = (user: AdminUser) => { return user.roles.filter((role: AdminRole) => role.code === SUPER_ADMIN_CODE).length > 0; }; -export const ADMIN_USER_ALLOWED_FIELDS = ['id', 'firstname', 'lastname', 'username']; +export const ADMIN_USER_ALLOWED_FIELDS = [ + 'id', + 'firstname', + 'lastname', + 'username', + 'email', + 'isActive', +]; export default { createUser,