Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix minor bug in Sandstorm username handling #3

Merged
merged 1 commit into from
Nov 8, 2016

Conversation

dwrensha
Copy link

@dwrensha dwrensha commented Nov 8, 2016

Setting the fullname here can cause the username to be set by this logic before the usual uniqification kicks in. The result is that share-by-powerbox can appear to fail, until the recipient actually visits the grain.

The solution is to adjust the call to Accounts.updateOrCreateFromExternalService() to better match the call in meteor-accounts-sandstrom which gets invoked when the sharing does not go through the powerbox.

name was the same as an existing user's handle.
@dwrensha
Copy link
Author

dwrensha commented Nov 8, 2016

(Self-merging because this pertains only to Sandstorm.)

@dwrensha dwrensha merged commit 00216f1 into wefork:devel Nov 8, 2016
@dwrensha dwrensha deleted the fullname-bugfix branch November 10, 2016 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant