Better account validation in Meteor: t3db0t:accounts-invite
While working on a Meteor project, I needed a way to allow or deny user account creation only at certain places (such as an ‘accept invitation’ route/template). This turns out to be difficult, because the core accounts package doesn’t provide a way to do a server-side validation of the attempted login.
Using it is easy: register a validation callback, and then call inviteWithLogin in the route/template (or wherever) of your choice.
Comments and Pull Requests are welcome at the Github repo.