Change token to _csrf

pull/2/head
Brian Ridings 2014-03-28 10:37:16 -04:00
parent eb0332609c
commit 05f7191c19
1 changed files with 1 additions and 1 deletions

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();
});