diff --git a/src/user.js b/src/user.js index 069f13c9c..3b1207250 100644 --- a/src/user.js +++ b/src/user.js @@ -148,7 +148,8 @@ function createUser(username, password, email, admin, invitor, sendInvite, callb salt: salt.toString('hex'), createdAt: now, modifiedAt: now, - resetToken: hat(256) + resetToken: hat(256), + displayName: '' }; userdb.add(user.id, user, function (error) {