fix: Allow loading attachments linked from other sites/emails.

Loosens same-site policy to include cookies for navigation events.
closes #4737
This commit is contained in:
Tom Moor
2023-01-27 18:52:47 -05:00
parent b5876dc844
commit d5eabd7771
2 changed files with 2 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ export async function signIn(
}
} else {
ctx.cookies.set("accessToken", user.getJwtToken(), {
sameSite: true,
sameSite: "lax",
httpOnly: false,
expires,
});