Skip to content

Commit 932ddb2

Browse files
authored
Tweak message to be Flex friendly
1 parent f5615f3 commit 932ddb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ private function registerSecurityCsrfConfiguration(array $config, ContainerBuild
11581158
}
11591159

11601160
if (!class_exists('Symfony\Component\Security\Csrf\CsrfToken')) {
1161-
throw new LogicException('CSRF support cannot be enabled as the Security CSRF component is not installed.');
1161+
throw new LogicException('CSRF support cannot be enabled as the Security CSRF component is not installed. Try running "composer require security-csrf".');
11621162
}
11631163

11641164
if (!$this->sessionConfigEnabled) {

0 commit comments

Comments
 (0)