fixes guest name on home

v1.18.x
barisusakli 11 years ago
parent 2649e6a385
commit f65998f4c2

@ -114,7 +114,7 @@ var bcrypt = require('bcryptjs'),
user.password = null; user.password = null;
} }
if (parseInt(user.uid, 10) === 0) { if (!parseInt(user.uid, 10)) {
user.username = '[[global:guest]]'; user.username = '[[global:guest]]';
user.userslug = ''; user.userslug = '';
} }

Loading…
Cancel
Save