Created
January 31, 2013 20:54
-
-
Save jboulhous/4686343 to your computer and use it in GitHub Desktop.
Create new Meteor user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Accounts.createUser( | |
{email:"[email protected]", password:"password"} | |
,function(e,r){ | |
if(e){ | |
console.error(e) | |
}else{ | |
var me = Meteor.user(); | |
console.log("created", me); | |
} | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment