fix: expire temporary cookies on browser close
This commit is contained in:
parent
af8ecb7043
commit
a50d32d495
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