From 1d9f1a0ce35b7c4dc21a7963bfc527ea9f73a4cb Mon Sep 17 00:00:00 2001 From: Amos Haviv Date: Sat, 14 Dec 2013 20:35:29 +0200 Subject: [PATCH] Update users.js --- app/controllers/users.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/users.js b/app/controllers/users.js index de489f9a4c..21b0685c22 100755 --- a/app/controllers/users.js +++ b/app/controllers/users.js @@ -56,7 +56,6 @@ exports.create = function(req, res) { user.provider = 'local'; user.save(function(err) { if (err) { - console.log(err); switch(err.code){ case 11000: case 11001: @@ -99,4 +98,4 @@ exports.user = function(req, res, next, id) { req.profile = user; next(); }); -}; \ No newline at end of file +};