mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-13 19:11:53 +02:00
fixes guest name on home
This commit is contained in:
@@ -114,7 +114,7 @@ var bcrypt = require('bcryptjs'),
|
||||
user.password = null;
|
||||
}
|
||||
|
||||
if (parseInt(user.uid, 10) === 0) {
|
||||
if (!parseInt(user.uid, 10)) {
|
||||
user.username = '[[global:guest]]';
|
||||
user.userslug = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user