diff --git a/src/user/create.js b/src/user/create.js index 84f90dba3a..9e873cf068 100644 --- a/src/user/create.js +++ b/src/user/create.js @@ -28,7 +28,7 @@ module.exports = function(User) { var timestamp = Date.now(); var userData = { - 'username': data.username.trim(), + 'username': data.username, 'userslug': data.userslug, 'email': data.email, 'joindate': timestamp,