From f6c4900b3b0d6001e2a7e8aaf48e9d2f9daa3e89 Mon Sep 17 00:00:00 2001 From: Brian Ridings Date: Fri, 28 Mar 2014 13:42:26 -0400 Subject: [PATCH] Changed Varable from token to _csrf --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 596278efcc..d93e47bdf0 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(); });