kernel/classes/datatypes/ezuser/ezuser.php
protected static function loginFailed( $userID = false, $login )
    {
        $loginEscaped = eZDB::instance()->escapeString( $login );

        // Failed login attempts should be logged
        eZAudit::writeAudit( 'user-failed-login', array( 'User login' => $loginEscaped,
                                                         'Comment' => 'Failed login attempt: eZUser::loginUser()' ) );

        // Increase number of failed login attempts.
        if ( $userID )
            eZUser::setFailedLoginAttempts( $userID );
    }
protected static function loginFailed( $userID = false, $login )
    {
        $loginEscaped = eZDB::instance()->escapeString( $login );

        // Failed login attempts should be logged
        eZAudit::writeAudit( 'user-failed-login', array( 'User login' => $loginEscaped,
                                                         'Comment' => 'Failed login attempt: eZUser::loginUser()' ) );

        // Increase number of failed login attempts.
        if ( $userID )
            eZUser::setFailedLoginAttempts( $userID );
    }
protected static function loginFailed ( $ userID = false , $ login ) { $ loginEscaped = eZDB :: instance ( ) -> escapeString ( $ login ) ; // Failed login attempts should be logged eZAudit :: writeAudit ( 'user-failed-login' , array ( 'User login' => $ loginEscaped , 'Comment' => 'Failed login attempt: eZUser::loginUser()' ) ) ; // Increase number of failed login attempts. if ( $ userID ) eZUser :: setFailedLoginAttempts ( $ userID ) ; }
Does some house keeping work when a log in has failed.

@param mixed $userID
@param string $login
Does some house keeping work when a log in has failed .