From bc5bc545ed0ae7bd1cd6375e25a467ec90473c5d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 2 Dec 2026 15:16:30 +0100 Subject: [PATCH] Recipe symfony/security-csrf install --- config/packages/csrf_protection.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/packages/csrf_protection.yaml b/config/packages/csrf_protection.yaml index 40d4040..85d65a1 100644 --- a/config/packages/csrf_protection.yaml +++ b/config/packages/csrf_protection.yaml @@ -1,4 +1,5 @@ -# Enable stateless CSRF protection for forms and logins/logouts +# yaml-language-server: $schema=../schema.json +# Enable stateless CSRF protection framework: form: csrf_protection: @@ -9,3 +10,4 @@ framework: - submit - authenticate - logout + - switch_user -- 2.52.1