Skip to content

Commit

Permalink
added check for the existence of the 'security.authenticator.manager'…
Browse files Browse the repository at this point in the history
… service
  • Loading branch information
Ne-Lexa committed Jun 13, 2020
1 parent 771243a commit 26dccbe
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -33,7 +33,7 @@ public function process(ContainerBuilder $container)

private function registerCsrfProtectionListener(ContainerBuilder $container)
{
if (!$container->has('security.csrf.token_manager')) {
if (!$container->has('security.authenticator.manager') || !$container->has('security.csrf.token_manager')) {
return;
}

Expand Down

0 comments on commit 26dccbe

Please sign in to comment.