-
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
Fix bug #21 via brettle:accounts-{add-service,accounts-multiple} #23
base: master
Are you sure you want to change the base?
Conversation
…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.
I left the |
Seems a good work! So you would get rid also of the |
Yes. Interested? |
To be honest I'd rather prefer to publish the perfect package under a non-private namespace, be it useraccounts or anything else. Accepting a PR about this for this package would make it half mine and half not and I'm not sure I'll have the time to keep it up to date and grant its security. Would you be willing to get access to a repo under meteor-useraccounts to develop |
Would |
I saw you have a number of pacakges, but I had no time yet to check them out... :( In case we're not talking about a huge number of code lines, wouldn't be it possible to have one single configurable package to rule them all? ;-) |
btw, the name |
I prefer one package per feature so that app developers: 1) don't need to worry about configuration (just All that said, it's still possible to have one configurable package. It would just use the smaller packages and expose the necessary configuration options. This would require some minor changes to the existing smaller packages to support having them disabled by default, but that is doable. |
Should we start a discussion about this on the related trello card? Perhaps also @zimme could be interested in participating ;-) |
I've joined in on the conversation on the trello card and I'll keep an eye on this PR too. |
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 avalidateSwitch
callback registered with
brettle:accounts-multiple
.Add tests for both cases.