public function frontend_excluded_ip_addresses($request)
    {
        $frontend_excluded_ip_addresses = config('lasallecmsfrontend.frontend_excluded_ip_addresses');

        // "true" = exclude
        if (empty($frontend_excluded_ip_addresses)) return false;

        $requestIPAddress = $this->customAdminAuthChecks->getRequestIPAddress($request);

        return $this->customAdminAuthChecks->ipAddressCheck($frontend_excluded_ip_addresses, $requestIPAddress);
    }
public function frontend_excluded_ip_addresses($request)
    {
        $frontend_excluded_ip_addresses = config('lasallecmsfrontend.frontend_excluded_ip_addresses');

        // "true" = exclude
        if (empty($frontend_excluded_ip_addresses)) return false;

        $requestIPAddress = $this->customAdminAuthChecks->getRequestIPAddress($request);

        return $this->customAdminAuthChecks->ipAddressCheck($frontend_excluded_ip_addresses, $requestIPAddress);
    }
public function frontend_excluded_ip_addresses ( $ request ) { $ frontend_excluded_ip_addresses = config ( 'lasallecmsfrontend.frontend_excluded_ip_addresses' ) ; // "true" = exclude if ( empty ( $ frontend_excluded_ip_addresses ) ) return false ; $ requestIPAddress = $ this -> customAdminAuthChecks -> getRequestIPAddress ( $ request ) ; return $ this -> customAdminAuthChecks -> ipAddressCheck ( $ frontend_excluded_ip_addresses , $ requestIPAddress ) ; }
Check if the current IP address is excluded from looking at the front end.

@return bool
Check if the current IP address is excluded from looking at the front end .