mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
added reputation to /account
This commit is contained in:
@@ -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(data);
|
||||
else
|
||||
res.send("User doesn't exist!");
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user