From 05f7191c196d699bca152a766905ea4921dc8df1 Mon Sep 17 00:00:00 2001 From: Brian Ridings Date: Fri, 28 Mar 2014 10:37:16 -0400 Subject: [PATCH] Change token to _csrf --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 596278efcc1..d93e47bdf06 100755 --- a/app.js +++ b/app.js @@ -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(); });