allow User.create to accept fullname

v1.18.x
Julian Lam 9 years ago
parent c41889c678
commit 1d42655bb5

@ -32,7 +32,7 @@ module.exports = function(User) {
'email': data.email, 'email': data.email,
'joindate': timestamp, 'joindate': timestamp,
'picture': '', 'picture': '',
'fullname': '', 'fullname': data.fullname,
'location': '', 'location': '',
'birthday': '', 'birthday': '',
'website': '', 'website': '',

Loading…
Cancel
Save