Merge branch '3.3' into 3.4

* 3.3:
  Tweak message to be Flex friendly
This commit is contained in:
Fabien Potencier 2017-12-14 11:45:05 -08:00
commit 032de3abf4

View File

@ -1421,7 +1421,7 @@ class FrameworkExtension extends Extension
}
if (!class_exists('Symfony\Component\Security\Csrf\CsrfToken')) {
throw new LogicException('CSRF support cannot be enabled as the Security CSRF component is not installed.');
throw new LogicException('CSRF support cannot be enabled as the Security CSRF component is not installed. Try running "composer require security-csrf".');
}
if (!$this->sessionConfigEnabled) {