From 3b7b87009f07e70f22697d7faac724af954f5b31 Mon Sep 17 00:00:00 2001 From: Alano Terblanche <18033717+Benehiko@users.noreply.github.com> Date: Thu, 14 Sep 2023 11:03:11 +0200 Subject: [PATCH] chore: update csrf_cookie_name Co-authored-by: Arne Luenser --- src/routes/consent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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