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:
commit
8542dcfb83
1 changed files with 1 additions and 2 deletions
|
|
@ -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))
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue