From c4bc7e7979f56db9ab8f76078f01af3cd634eecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Marie=20Lamodi=C3=A8re?= Date: Thu, 4 Jun 2015 16:50:53 +0200 Subject: [PATCH] Fixed typo about _token field name for CSRF protection --- components/form/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/form/introduction.rst b/components/form/introduction.rst index 0d05caf8a1b..a263c29d819 100644 --- a/components/form/introduction.rst +++ b/components/form/introduction.rst @@ -138,7 +138,7 @@ above snippet and make sure that nobody except your web server can access the secret. Internally, this extension will automatically add a hidden field to every -form (called ``__token`` by default) whose value is automatically generated +form (called ``_token`` by default) whose value is automatically generated and validated when binding the form. .. tip::