mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-11 07:00:51 +01:00
Merge remote-tracking branch 'refs/remotes/origin/private-feeds'
This commit is contained in:
@@ -122,6 +122,10 @@ module.exports = function (User) {
|
||||
user.password = undefined;
|
||||
}
|
||||
|
||||
if (user.rss_token) {
|
||||
user.rss_token = undefined;
|
||||
}
|
||||
|
||||
if (!parseInt(user.uid, 10)) {
|
||||
user.uid = 0;
|
||||
user.username = '[[global:guest]]';
|
||||
|
||||
Reference in New Issue
Block a user