@ -18,6 +18,10 @@
<span>Member for </span>
<span id="membersince">{user.joindate}</span>
<br/>
<span>Reputation </span>
<span id="membersince">{user.reputation}</span>
<!-- END user -->
@ -39,7 +39,8 @@ var config = require('../config.js'),
RDB.db.hgetall(String(uid), function(err, data){
if(err === null)
{
delete data['password'];
if(data && data['password'])
callback(data);
}
else
@ -315,7 +315,10 @@ passport.deserializeUser(function(uid, done) {
return res.redirect('/403');
user.getUserData(req.params.uid, function(data){
res.send(data);
if(data)
res.send("User doesn't exist!");
});