src/Module/Authentication/LocalAuth/LocalAuth.php
protected function logInvalidLoginAttempt($name)
    {
        // Trim logged name to the maximum allowed length
        $max = $this->config["registration"]["nameLenMax"];
        if (strlen($name)>$max) {
            $max = substr($name, 0, $max) . " (trimmed)";
        }
        $this->getLogger()->notice(
            "Invalid login attempt for {name} by {addr}",
            array(
                "name" => $name,
                "addr" => $_SERVER['REMOTE_ADDR'],
            )
        );
    }
protected function logInvalidLoginAttempt($name)
    {
        // Trim logged name to the maximum allowed length
        $max = $this->config["registration"]["nameLenMax"];
        if (strlen($name)>$max) {
            $max = substr($name, 0, $max) . " (trimmed)";
        }
        $this->getLogger()->notice(
            "Invalid login attempt for {name} by {addr}",
            array(
                "name" => $name,
                "addr" => $_SERVER['REMOTE_ADDR'],
            )
        );
    }
protected function logInvalidLoginAttempt ( $ name ) { // Trim logged name to the maximum allowed length $ max = $ this -> config [ "registration" ] [ "nameLenMax" ] ; if ( strlen ( $ name ) > $ max ) { $ max = substr ( $ name , 0 , $ max ) . " (trimmed)" ; } $ this -> getLogger ( ) -> notice ( "Invalid login attempt for {name} by {addr}" , array ( "name" => $ name , "addr" => $ _SERVER [ 'REMOTE_ADDR' ] , ) ) ; }
Logs an invalid login attempt

@param array $name Username the attempt was for
Logs an invalid login attempt