mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +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) {
|
||||
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…
Reference in New Issue
Block a user