v1.18.x
barisusakli 11 years ago
parent 20a3c1612c
commit e7a415246e

@ -348,9 +348,15 @@ accountsController.accountSettings = function(req, res, next) {
return userNotFound();
}
results.user.yourid = req.user.uid;
results.user.theirid = uid;
results.user.settings = settings;
results = {
username: results.user.username,
userslug: results.user.userslug,
uid: uid,
yourid: req.user.uid,
theirid: uid,
settings: settings,
languages: results.languages
};
res.render('accountsettings', results);
});

Loading…
Cancel
Save