mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
removed console.log
This commit is contained in:
@@ -124,7 +124,7 @@ var bcrypt = require('bcryptjs'),
|
|||||||
if (err) {
|
if (err) {
|
||||||
return callback(err);
|
return callback(err);
|
||||||
}
|
}
|
||||||
console.log(results);
|
|
||||||
if (parseInt(results.banned, 10) === 1) {
|
if (parseInt(results.banned, 10) === 1) {
|
||||||
return callback(new Error('user-banned'));
|
return callback(new Error('user-banned'));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user