diff options
| author | kumar <kumar.damani@mail.utoronto.ca> | 2016-07-23 04:13:04 +0000 |
|---|---|---|
| committer | kumar <kumar.damani@mail.utoronto.ca> | 2016-07-23 04:13:04 +0000 |
| commit | f658b2367b9ea33703f3b4174688a96e682d86c8 (patch) | |
| tree | 4d537a30f864625d00fb055f1672bb549456e9dd /app.js | |
| parent | 9ab4094797e82798eab40b32e7c71b52bb847b8f (diff) | |
| parent | eefeb25d3fabf377c09dd6c7282f0992eb1afea1 (diff) | |
pull
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
Diffstat (limited to 'app.js')
| -rw-r--r-- | app.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -54,6 +54,8 @@ app.use(express.static(__dirname)); app.use(function(req, res, next) { res.locals.login = req.isAuthenticated(); // global variable res.locals.session = req.session; + res.locals.user = req.user; + console.log(res.locals.user); next(); }); |
