Blame view
imports/startup/server/accounts/creation.js
417 Bytes
ff976df49
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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); }); |