Skip to content

Node.js based forum software built for the modern web

allow User.create to accept fullname

Julian Lam1d42655bb5f5
diff --git a/src/user/create.js b/src/user/create.js
index 45fd9cbe62..1f8656c040 100644
--- a/src/user/create.js
+++ b/src/user/create.js
@@ -32,7 +32,7 @@ module.exports = function(User) {
'email': data.email,
'joindate': timestamp,
'picture': '',
- 'fullname': '',
+ 'fullname': data.fullname,
'location': '',
'birthday': '',
'website': '',