fix: do not return services

pull/29244/head
Guilherme Gazzo 3 years ago
parent 8f95d5d25c
commit affc307b4a
  1. 4
      apps/meteor/app/lib/server/functions/getFullUserData.ts

@ -97,5 +97,9 @@ export async function getFullUserDataByIdOrUsername(
user.canViewAllInfo = canViewAllInfo;
if (user?.services?.password) {
(user.services.password as any) = true;
}
return user;
}

Loading…
Cancel
Save