diff --git a/src/routes/consent.ts b/src/routes/consent.ts index 47ce9ab2..360edb97 100644 --- a/src/routes/consent.ts +++ b/src/routes/consent.ts @@ -24,7 +24,7 @@ const cookieOptions: DoubleCsrfCookieOptions = { }), } -const cookieName = process.env.CSRF_COOKIE_NAME || "ax-x-csrf-token" +const cookieName = process.env.CSRF_COOKIE_NAME || "__Host-ax-x-csrf-token" const cookieSecret = process.env.CSRF_COOKIE_SECRET // Sets up csrf protection