(core) For grist_sid*_status cookie, remember to set the path

Test Plan: Only tested manually that path is included.

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D3056
pull/115/head
Dmitry S 3 years ago
parent d4626aea82
commit 7e07f0ce56

@ -529,6 +529,7 @@ export function signInStatusMiddleware(req: Request, resp: Response, next: NextF
httpOnly: false, // make available to client-side scripts
expires,
domain: getCookieDomain(req),
path: '/',
sameSite: 'lax', // same setting as for grist-sid is fine here.
}));
}

Loading…
Cancel
Save