Merge pull request #1817 from RafaelTaranto/fix/cookie-expiration-on-browser-close

LAM-336 fix: expire temporary cookies on browser close
This commit is contained in:
Rafael Taranto 2025-04-14 11:18:12 +01:00 committed by GitHub
commit 8542dcfb83

View file

@ -18,8 +18,7 @@ router.use('*', async (req, res, next) => getOperatorId('authentication').then(o
cookie: { cookie: {
httpOnly: true, httpOnly: true,
secure: true, secure: true,
sameSite: true, sameSite: true
maxAge: 60 * 10 * 1000 // 10 minutes
} }
})(req, res, next)) })(req, res, next))
) )