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()));
    }