diff --git a/lib/session.js b/lib/session.js index 769c9e279a..a39971c6a2 100644 --- a/lib/session.js +++ b/lib/session.js @@ -55,7 +55,7 @@ function signinWithUser (user, req, res, onSuccess) { var cookieOpts = _.defaults({}, keystone.get('cookie signin options'), { signed: true, httpOnly: true, - maxAge: 10 * 24 * 60 * 60, + maxAge: 10 * 24 * 60 * 60 * 1000, }); res.cookie('keystone.uid', userToken, cookieOpts); }