diff --git a/src/user/create.js b/src/user/create.js index 5a58da4a58..33d7a5fd8c 100644 --- a/src/user/create.js +++ b/src/user/create.js @@ -20,7 +20,7 @@ module.exports = function(User) { } var password = userData.password; - delete userData.password; + userData.password = null; async.parallel([ function(next) {