Changed Varable from token to _csrf

This commit is contained in:
Brian Ridings
2014-03-28 13:42:26 -04:00
parent f88a09081f
commit f6c4900b3b

2
app.js
View File

@ -77,7 +77,7 @@ app.use(passport.initialize());
app.use(passport.session());
app.use(function(req, res, next) {
res.locals.user = req.user;
res.locals.token = req.csrfToken();
res.locals._csrf = req.csrfToken();
res.locals.secrets = secrets;
next();
});