Set empty displayName for users

This commit is contained in:
Johannes Zellner
2016-01-19 12:40:50 +01:00
parent ebc9d9185d
commit 870edab78a

View File

@@ -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) {