Patch Changes
-
ae7f7a0: fix: do not modify the options passed to
res.cookieres.cookieconvertedmaxAgefrom milliseconds to seconds and setexpires
andpathon the options object it was given. When the same object was reused,
which is common for a shared cookie config,maxAgewas divided by 1000 again
on every call and the cookies expired sooner and sooner. The options are now
copied before they are adjusted.