|
@@ -82,7 +82,7 @@ abstract class AbstractPreAuthenticatedListener implements ListenerInterface
|
|
|
|
|
|
if (null !== $this->dispatcher) {
|
|
if (null !== $this->dispatcher) {
|
|
$loginEvent = new InteractiveLoginEvent($request, $token);
|
|
$loginEvent = new InteractiveLoginEvent($request, $token);
|
|
- $this->dispatcher->notify(Events::onSecurityInteractiveLogin, $loginEvent);
|
|
|
|
|
|
+ $this->dispatcher->dispatchEvent(Events::onSecurityInteractiveLogin, $loginEvent);
|
|
}
|
|
}
|
|
} catch (AuthenticationException $failed) {
|
|
} catch (AuthenticationException $failed) {
|
|
$this->securityContext->setToken(null);
|
|
$this->securityContext->setToken(null);
|