mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
Input signup name into user profile
This commit is contained in:
parent
58b97497a3
commit
229597d341
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user