mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix references to Meteor.createUser
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user