fix: expire temporary cookies on browser close

This commit is contained in:
Rafael Taranto 2025-04-10 16:58:02 +01:00
parent af8ecb7043
commit a50d32d495

View file

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