Skip to content

Commit 50d72d1

Browse files
committed
Merge branch '5.1'
* 5.1: In the new authenticator system, no auth listener is valid
2 parents a09d659 + 86300fb commit 50d72d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/SecurityExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ private function createAuthenticationListeners(ContainerBuilder $container, stri
604604
}
605605
}
606606

607-
if (false === $hasListeners) {
607+
if (false === $hasListeners && !$this->authenticatorManagerEnabled) {
608608
throw new InvalidConfigurationException(sprintf('No authentication listener registered for firewall "%s".', $id));
609609
}
610610

0 commit comments

Comments
 (0)