From c948b1e39dab580f29222840fb962bca6ed77f16 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Thu, 26 Mar 2026 15:12:56 -0400 Subject: [PATCH] upd: csrf add csrf protection for forms --- config/packages/csrf.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config/packages/csrf.yaml diff --git a/config/packages/csrf.yaml b/config/packages/csrf.yaml new file mode 100644 index 0000000..40d4040 --- /dev/null +++ b/config/packages/csrf.yaml @@ -0,0 +1,11 @@ +# Enable stateless CSRF protection for forms and logins/logouts +framework: + form: + csrf_protection: + token_id: submit + + csrf_protection: + stateless_token_ids: + - submit + - authenticate + - logout