Skip to content

Instantly share code, notes, and snippets.

@javorszky
Created May 26, 2013 08:33
Show Gist options
  • Save javorszky/5652090 to your computer and use it in GitHub Desktop.
Save javorszky/5652090 to your computer and use it in GitHub Desktop.
Accounts.createUser({
username: username
, email: email
, password: password
}, function(err){
if(err){
console.log(err);
}else{
Meteor.logout();
// Meteor.Router.to('/');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment