From 229597d3418f776ec58507f1d56639ae21523c89 Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Sun, 8 Sep 2013 21:16:40 +0200 Subject: [PATCH] Input signup name into user profile --- core/server/controllers/admin.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/server/controllers/admin.js b/core/server/controllers/admin.js index 0a46a4ee15..1cb24ddf58 100644 --- a/core/server/controllers/admin.js +++ b/core/server/controllers/admin.js @@ -140,10 +140,12 @@ adminControllers = { }, 'doRegister': function (req, res) { - var email = req.body.email, + var name = req.body.name, + email = req.body.email, password = req.body.password; api.users.add({ + full_name: name, email_address: email, password: password }).then(function (user) {