summaryrefslogtreecommitdiffstats
path: root/sandstorm.js
diff options
context:
space:
mode:
authorDavid Renshaw <david@sandstorm.io>2016-11-08 09:47:36 -0500
committerDavid Renshaw <david@sandstorm.io>2016-11-08 09:47:36 -0500
commit89eb156529fb869312abc20544dbdfd843e3d88c (patch)
tree6dbcf048d24f1515cd07503a57459be8c8df877c /sandstorm.js
parentf11873e44a7772db3543b4a82e81c289a0bddcd2 (diff)
downloadwekan-89eb156529fb869312abc20544dbdfd843e3d88c.tar.gz
wekan-89eb156529fb869312abc20544dbdfd843e3d88c.tar.bz2
wekan-89eb156529fb869312abc20544dbdfd843e3d88c.zip
Fix bug where share-by-powerbox could fail if the recipient's display
name was the same as an existing user's handle.
Diffstat (limited to 'sandstorm.js')
-rw-r--r--sandstorm.js2
1 files changed, 1 insertions, 1 deletions
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();