mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
fix(server): always set new session cookie (#6323)
This commit is contained in:
@@ -88,7 +88,7 @@ async function handleOauthJwt(url: string) {
|
||||
httpOnly: true,
|
||||
value: token,
|
||||
secure: true,
|
||||
name: 'sid',
|
||||
name: 'affine_session',
|
||||
expirationDate: Math.floor(Date.now() / 1000 + 3600 * 24 * 7),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user