-
Notifications
You must be signed in to change notification settings - Fork 26
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
Possible to allow melding of unverified password account? #21
Comments
+1 |
I guess the reason is that you intercept A solution to this would be either:
What do you think? Maybe we should fill a feature request? |
brettle:accounts-multiple takes the approach @steph643 is describing. @splendido, would you consider a PR that modifies accounts-meld to use brettle:accounts-multiple instead of intercepting |
I had no chance to check For sure I'll try to revise all the logic behind this package when I'll be converting it to a plugin package for |
@steph643 is right, the call to If there's something to deal with this without thouching the |
@brettle, from my tests, in a
So I don't understand how you would implement the PR. I am also surprised this line works :-) |
FYI, MDG has merged a PR I submitted to fix the bug, so the workaround won't be necessary in Meteor 1.2+. |
Great, thanks. |
…ple} Fix the "add new password account" case by just doing `api.use('brettle:accounts-add-service')`. Fix the "meld existing password account" case by copying logic from `updateOrCreateUserFromExternalService()` into a `validateSwitch` callback registered with `brettle:accounts-multiple`. Add tests for both cases.
PR #23 addresses this issue. FYI, the non-melding case (i.e. just associate a new email/password with the current account) can be handled by just doing |
From the doc:
Why this limitation? Any technical difficulty?
The text was updated successfully, but these errors were encountered: