]> Raphaël G. Git Repositories - airlibre/commitdiff
Recipe symfony/security-csrf install
authorRaphaël Gertz <git@rapsys.eu>
Wed, 2 Dec 2026 14:16:30 +0000 (15:16 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 2 Dec 2026 14:16:30 +0000 (15:16 +0100)
config/packages/csrf_protection.yaml

index 40d40405e1e9651723b0169bac8f1a36489021ea..85d65a1c0d36e62970e5326a727a49ea89daa3d9 100644 (file)
@@ -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:
 framework:
     form:
         csrf_protection:
@@ -9,3 +10,4 @@ framework:
             - submit
             - authenticate
             - logout
             - submit
             - authenticate
             - logout
+            - switch_user