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: {
|
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))
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue