File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Component \DependencyInjection \Loader \Configurator ;
1313
14- use Symfony \Component \DependencyInjection \Loader \Configurator \ContainerConfigurator ;
15- use Symfony \Component \Security \Csrf \TokenGenerator \UriSafeTokenGenerator ;
14+ use Symfony \Bridge \Twig \Extension \CsrfExtension ;
15+ use Symfony \Bridge \Twig \Extension \CsrfRuntime ;
16+ use Symfony \Component \Security \Csrf \CsrfTokenManager ;
17+ use Symfony \Component \Security \Csrf \CsrfTokenManagerInterface ;
1618use Symfony \Component \Security \Csrf \TokenGenerator \TokenGeneratorInterface ;
19+ use Symfony \Component \Security \Csrf \TokenGenerator \UriSafeTokenGenerator ;
1720use Symfony \Component \Security \Csrf \TokenStorage \SessionTokenStorage ;
1821use Symfony \Component \Security \Csrf \TokenStorage \TokenStorageInterface ;
19- use Symfony \Component \Security \Csrf \CsrfTokenManager ;
20- use Symfony \Component \Security \Csrf \CsrfTokenManagerInterface ;
21- use Symfony \Bridge \Twig \Extension \CsrfRuntime ;
22- use Symfony \Bridge \Twig \Extension \CsrfExtension ;
2322
2423return static function (ContainerConfigurator $ container ) {
2524 $ container ->services ()
3736 ->args ([
3837 service ('security.csrf.token_generator ' ),
3938 service ('security.csrf.token_storage ' ),
40- service ('request_stack ' )->ignoreOnInvalid ()
39+ service ('request_stack ' )->ignoreOnInvalid (),
4140 ])
4241
4342 ->alias (CsrfTokenManagerInterface::class, 'security.csrf.token_manager ' )
You can’t perform that action at this time.
0 commit comments