Input signup name into user profile

This commit is contained in:
John O'Nolan 2013-09-08 21:16:40 +02:00
parent 58b97497a3
commit 229597d341

View File

@ -140,10 +140,12 @@ adminControllers = {
}, },
'doRegister': function (req, res) { 'doRegister': function (req, res) {
var email = req.body.email, var name = req.body.name,
email = req.body.email,
password = req.body.password; password = req.body.password;
api.users.add({ api.users.add({
full_name: name,
email_address: email, email_address: email,
password: password password: password
}).then(function (user) { }).then(function (user) {