backend: add partitioned attribute to cookie options for enhanced security
This commit is contained in:
parent
24c74e64b9
commit
7df90d5522
@ -6,6 +6,7 @@ export const getCookieOptions = (path: string, expiration?: string): CookieOptio
|
|||||||
httpOnly: true,
|
httpOnly: true,
|
||||||
secure: true,
|
secure: true,
|
||||||
sameSite: 'none',
|
sameSite: 'none',
|
||||||
|
partitioned: true,
|
||||||
maxAge: expiration ? ms(expiration as StringValue) : undefined,
|
maxAge: expiration ? ms(expiration as StringValue) : undefined,
|
||||||
path
|
path
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user