import _ from 'lodash'; import { Accounts } from 'meteor/accounts-base'; import { SimpleSchema } from 'meteor/aldeed:simple-schema'; import { ValidatedMethod } from 'meteor/mdg:validated-method'; Accounts.validateNewUser((user) => { return !!user; }); Accounts.onCreateUser((options, user) => { console.log(options); });