mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Change cookie SameSite to Lax to have it sent with navigations / redirects
This commit is contained in:
@@ -234,7 +234,7 @@ export class WebClientServer {
|
||||
connectionTokenCookieName,
|
||||
queryConnectionToken,
|
||||
{
|
||||
sameSite: 'strict',
|
||||
sameSite: 'lax',
|
||||
maxAge: 60 * 60 * 24 * 7 /* 1 week */
|
||||
}
|
||||
);
|
||||
@@ -317,7 +317,7 @@ export class WebClientServer {
|
||||
connectionTokenCookieName,
|
||||
this._connectionToken.value,
|
||||
{
|
||||
sameSite: 'strict',
|
||||
sameSite: 'lax',
|
||||
maxAge: 60 * 60 * 24 * 7 /* 1 week */
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user