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

@ -22,10 +22,10 @@ const pkgdef :Spk.PackageDefinition = (
appTitle = (defaultText = "Wekan"),
# The name of the app as it is displayed to the user.
appVersion = 13,
appVersion = 14,
# Increment this for every release.
appMarketingVersion = (defaultText = "0.11.0~2016-11-07"),
appMarketingVersion = (defaultText = "0.11.0~2016-11-08"),
# Human-readable presentation of the app version.
minUpgradableAppVersion = 0,

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();