Let\'s say I have a todo app, and I want to make sure that every user that registers has at least one todo to start with, something like \"First todo to cross off!\", how wo
The Meteor API now has the hook onCreateUser:
Accounts.onCreateUser(function (options, user) { Todos.insert({ owner: user._id, text: "First todo to cross off!", }); // We still want the default hook's 'profile' behavior. if (options.profile) user.profile = options.profile; return user; });