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

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

        return false;
    }
private function isIpWhitelisted ( ) { $ whitelist = $ this -> config -> get ( 'RateLimitWhitelist' , [ ] , true ) ; if ( in_array ( $ this -> ip , $ whitelist ) ) { return true ; } return false ; }
Checks if the current ip is whitelisted.

@return bool
Checks if the current ip is whitelisted .