Fix references to Meteor.createUser

This commit is contained in:
David Glasser
2012-10-15 17:29:56 -07:00
parent 02f7512da6
commit 2bd3cb727b
2 changed files with 2 additions and 2 deletions

View File

@@ -445,7 +445,7 @@
// XXX allow an optional callback?
if (callback) {
throw new Error("Meteor.createUser with callback not supported on the server yet.");
throw new Error("Accounts.createUser with callback not supported on the server yet.");
}
var userId = createUser(options).id;

View File

@@ -385,7 +385,7 @@
var signup = function () {
loginButtonsSession.resetMessages();
var options = {}; // to be passed to Meteor.createUser
var options = {}; // to be passed to Accounts.createUser
var username = trimmedElementValueById('login-username');
if (username !== null) {