From 86da6b9c6d5e49a09a4af623d59864e73b3a36ea Mon Sep 17 00:00:00 2001 From: Wasit Uzayer Faraizi <54891391+wasituf@users.noreply.github.com> Date: Wed, 30 Oct 2024 05:52:40 +0600 Subject: [PATCH] docs: typo in astro csrf protection codeblock (#1725) --- pages/sessions/cookies/astro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/sessions/cookies/astro.md b/pages/sessions/cookies/astro.md index ff9d9865b..5bbf8a5dd 100644 --- a/pages/sessions/cookies/astro.md +++ b/pages/sessions/cookies/astro.md @@ -15,7 +15,7 @@ CSRF protection is a must when using cookies. From Astro v5.0, basic CSRF protec export default defineConfig({ output: "server", security: { - checkOrigin: false + checkOrigin: true } }); ```