mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 10:35:55 +01:00
dont display email/fullname if they are private
This commit is contained in:
@@ -104,7 +104,7 @@ var async = require('async'),
|
||||
}
|
||||
|
||||
if (user.password) {
|
||||
user.password = null;
|
||||
user.password = undefined;
|
||||
}
|
||||
|
||||
if (!parseInt(user.uid, 10)) {
|
||||
|
||||
Reference in New Issue
Block a user