mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -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,
|
||||
sameSite: 'no_restriction',
|
||||
domain: cookieDomain,
|
||||
path: '/',
|
||||
};
|
||||
const csrfCookie: CookiesSetDetails = {
|
||||
url,
|
||||
@ -139,6 +140,7 @@ class ProtocolHandler {
|
||||
secure: true,
|
||||
sameSite: 'no_restriction',
|
||||
domain: cookieDomain,
|
||||
path: '/',
|
||||
};
|
||||
try {
|
||||
await session.defaultSession.cookies.set(skeyCookie);
|
||||
|
Loading…
Reference in New Issue
Block a user