From b7858f3c4f1b798173f109384be631977a475dce Mon Sep 17 00:00:00 2001 From: Dan G Date: Thu, 31 Oct 2024 17:42:42 +0000 Subject: [PATCH] retry lax --- api.planx.uk/modules/auth/controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.planx.uk/modules/auth/controller.ts b/api.planx.uk/modules/auth/controller.ts index 016c9efa64..1f04d67e1a 100644 --- a/api.planx.uk/modules/auth/controller.ts +++ b/api.planx.uk/modules/auth/controller.ts @@ -40,7 +40,7 @@ function setJWTCookie(returnTo: string, res: Response, req: Request) { new Date().setFullYear(new Date().getFullYear() + 1), ).getTime(), // jwt/auth cookies are mostly sent between API and editor, but pizzas rely on staging API - sameSite: "none", + sameSite: "lax", secure: true, };