mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 15:30:39 +01:00
guest fixes
This commit is contained in:
@@ -109,6 +109,7 @@ var async = require('async'),
|
||||
}
|
||||
|
||||
if (!parseInt(user.uid, 10)) {
|
||||
user.uid = 0;
|
||||
user.username = '[[global:guest]]';
|
||||
user.userslug = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user