Skip to content

Commit

Permalink
retry lax
Browse files Browse the repository at this point in the history
  • Loading branch information
freemvmt committed Oct 31, 2024
1 parent 81aeed5 commit b7858f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.planx.uk/modules/auth/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit b7858f3

Please sign in to comment.