From 89eb156529fb869312abc20544dbdfd843e3d88c Mon Sep 17 00:00:00 2001 From: David Renshaw Date: Tue, 8 Nov 2016 09:47:36 -0500 Subject: Fix bug where share-by-powerbox could fail if the recipient's display name was the same as an existing user's handle. --- sandstorm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sandstorm.js') diff --git a/sandstorm.js b/sandstorm.js index 5a800b24..07007be1 100644 --- a/sandstorm.js +++ b/sandstorm.js @@ -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(); -- cgit v1.2.3-1-g7c22