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,
|
||||
secure: true,
|
||||
sameSite: 'none',
|
||||
partitioned: true,
|
||||
maxAge: expiration ? ms(expiration as StringValue) : undefined,
|
||||
path
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user