In the new authenticator system, no auth listener is valid
This commit is contained in:
parent
ca8944b512
commit
6b520db2eb
@ -588,7 +588,7 @@ class SecurityExtension extends Extension implements PrependExtensionInterface
|
||||
}
|
||||
}
|
||||
|
||||
if (false === $hasListeners) {
|
||||
if (false === $hasListeners && !$this->authenticatorManagerEnabled) {
|
||||
throw new InvalidConfigurationException(sprintf('No authentication listener registered for firewall "%s".', $id));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user