Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Template.hello.onCreated(function helloOnCreated() {
- // counter starts at 0
- this.counter = new ReactiveVar(0);
- var userObject = {
- username: "anotherTest",
- mail: "anotherTest@me.com",
- password: "testingME"
- };
- Accounts.createUser(userObject, function(error){
- console.log('User created');
- console.log(error);
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement