src/Webiny/Login/Login.php
private function isIpBlacklisted()
    {
        $blacklist = $this->config->get('RateLimitBlacklist', [], true);
        if (in_array($this->ip, $blacklist)) {
            return true;
        }

        return false;
    }
private function isIpBlacklisted()
    {
        $blacklist = $this->config->get('RateLimitBlacklist', [], true);
        if (in_array($this->ip, $blacklist)) {
            return true;
        }

        return false;
    }
private function isIpBlacklisted ( ) { $ blacklist = $ this -> config -> get ( 'RateLimitBlacklist' , [ ] , true ) ; if ( in_array ( $ this -> ip , $ blacklist ) ) { return true ; } return false ; }
Checks if the current ip is black listed.

@return bool
Checks if the current ip is black listed .