mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Input signup name into user profile
This commit is contained in:
parent
58b97497a3
commit
229597d341
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue