EasyCorp\Bundle\EasySecurityBundle\Security\Security::getLoginError PHP Method

getLoginError() public method

Returns the error of the last failed login attempt, if any.
public getLoginError ( ) : Symfony\Component\Security\Core\Exception\AuthenticationException | null
return Symfony\Component\Security\Core\Exception\AuthenticationException | null
    public function getLoginError()
    {
        return $this->authenticationUtils->getLastAuthenticationError();
    }