guest fixes

This commit is contained in:
barisusakli
2014-09-20 18:07:46 -04:00
parent e2707353e9
commit a19c306f49
3 changed files with 3 additions and 2 deletions

View File

@@ -109,6 +109,7 @@ var async = require('async'),
}
if (!parseInt(user.uid, 10)) {
user.uid = 0;
user.username = '[[global:guest]]';
user.userslug = '';
}