removed console.log

This commit is contained in:
barisusakli
2014-04-01 12:02:05 -04:00
parent f185e13175
commit 99e6223bf0

View File

@@ -124,7 +124,7 @@ var bcrypt = require('bcryptjs'),
if (err) {
return callback(err);
}
console.log(results);
if (parseInt(results.banned, 10) === 1) {
return callback(new Error('user-banned'));
}