Fix bug where share-by-powerbox could fail if the recipient's display

name was the same as an existing user's handle.
This commit is contained in:
David Renshaw 2016-11-08 09:47:36 -05:00
parent f11873e44a
commit 89eb156529
2 changed files with 3 additions and 3 deletions

View file

@ -89,7 +89,7 @@ if (isSandstorm && Meteor.isServer) {
const login = Accounts.updateOrCreateUserFromExternalService(
'sandstorm', sandstormInfo,
{ profile: { name: sandstormInfo.name, fullname: sandstormInfo.name } });
{ profile: { name: sandstormInfo.name } });
updateUserPermissions(login.userId, permissions);
done();