Neos\Flow\Security\Authentication\Controller\AbstractAuthenticationController::onAuthenticationFailure PHP Метод

onAuthenticationFailure() защищенный Метод

Override this method in your login controller to take any custom action for this event. Most likely you would want to redirect to some action showing the login form again.
protected onAuthenticationFailure ( AuthenticationRequiredException $exception = null ) : void
$exception Neos\Flow\Security\Exception\AuthenticationRequiredException The exception thrown while the authentication process
Результат void
    protected function onAuthenticationFailure(AuthenticationRequiredException $exception = null)
    {
        $this->flashMessageContainer->addMessage(new Error('Authentication failed!', $exception === null ? 1347016771 : $exception->getCode()));
    }