From 4e48ab2363f3fc9581dcd7f360a3917a2e2bccd6 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Tue, 27 Aug 2013 23:40:38 -0400 Subject: [PATCH] changed max age to milliseconds --- src/webserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webserver.js b/src/webserver.js index 9999676857..278d3b9f64 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -71,7 +71,7 @@ var express = require('express'), secret: nconf.get('secret'), key: 'express.sid', cookie: { - maxAge: 60*60*24*30 // 30 days + maxAge: 60*60*24*30*1000 // 30 days } })); app.use(express.csrf());