Skip to content

Node.js based forum software built for the modern web

removed console.log

barisusakli99e6223bf034
diff --git a/src/user.js b/src/user.js
index 1f0f1be6ab..30305bb8e8 100644
--- a/src/user.js
+++ b/src/user.js
@@ -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'));
}