From 508b7319501e944114146988cd4739a86e513b51 Mon Sep 17 00:00:00 2001 From: Matt Smith Date: Thu, 28 May 2020 12:06:56 +0100 Subject: [PATCH] Add max age to cookies --- session/cookie.js | 1 + 1 file changed, 1 insertion(+) diff --git a/session/cookie.js b/session/cookie.js index a8b4e570..365b72cb 100644 --- a/session/cookie.js +++ b/session/cookie.js @@ -117,6 +117,7 @@ Cookie.prototype = { get data() { return { originalMaxAge: this.originalMaxAge + , maxAge: this.maxAge , expires: this._expires , secure: this.secure , httpOnly: this.httpOnly