mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -06:00
SDA-4117 Define path field on created cookies
This commit is contained in:
parent
c204d875f7
commit
b1256e3ec6
@ -131,6 +131,7 @@ class ProtocolHandler {
|
|||||||
httpOnly: true,
|
httpOnly: true,
|
||||||
sameSite: 'no_restriction',
|
sameSite: 'no_restriction',
|
||||||
domain: cookieDomain,
|
domain: cookieDomain,
|
||||||
|
path: '/',
|
||||||
};
|
};
|
||||||
const csrfCookie: CookiesSetDetails = {
|
const csrfCookie: CookiesSetDetails = {
|
||||||
url,
|
url,
|
||||||
@ -139,6 +140,7 @@ class ProtocolHandler {
|
|||||||
secure: true,
|
secure: true,
|
||||||
sameSite: 'no_restriction',
|
sameSite: 'no_restriction',
|
||||||
domain: cookieDomain,
|
domain: cookieDomain,
|
||||||
|
path: '/',
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
await session.defaultSession.cookies.set(skeyCookie);
|
await session.defaultSession.cookies.set(skeyCookie);
|
||||||
|
Loading…
Reference in New Issue
Block a user