From 44df76171e542f26509c4bac5961d6907e00b6d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4dlich?= Date: Sun, 16 Feb 2020 10:14:54 +0100 Subject: [PATCH] Adjusts description of the csrf_token extension --- reference/twig_reference.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/twig_reference.rst b/reference/twig_reference.rst index 70c2d286a66..99bda0b3821 100644 --- a/reference/twig_reference.rst +++ b/reference/twig_reference.rst @@ -131,7 +131,7 @@ csrf_token {{ csrf_token(intention) }} ``intention`` - **type**: ``string`` - an arbitrary string used to generate the token value. + **type**: ``string`` - an arbitrary string used to identify the token value. Renders a CSRF token. Use this function if you want :doc:`CSRF protection ` in a regular HTML form not managed by the Symfony Form component.