fix: do not return services

pull/29218/head
Guilherme Gazzo 3 years ago committed by Diego Sampaio
parent e054413c6a
commit f4107d8a39
No known key found for this signature in database
GPG Key ID: B71D302EB7F5183C
  1. 4
      apps/meteor/app/lib/server/functions/getFullUserData.ts

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

Loading…
Cancel
Save