i'm using hackathon-starter , want use name of user database in render title property in express.js
the file want modify here
solved: req.user.name
exports.getaccount = function(req, res) { res.render('account/profile', { title: req.user.name }); };
Comments
Post a Comment