Closed hurnell closed 3 years ago
You can also programatically switch to a Wildcard API Key by passing your current ip and a (asterisk) in the permitted_ips field of the device-server POST call. E.g: ["1.2.3.4", ""].
src/Util/InstallationUtil.php line 213 if (preg_match(self::REGEX_IP, $ip) === self::PREG_MATCH_SUCCESS || '*' === $ip)
duplicate
Steps to reproduce:
What should happen:
You can also programatically switch to a Wildcard API Key by passing your current ip and a (asterisk) in the permitted_ips field of the device-server POST call. E.g: ["1.2.3.4", ""].
What happens:
SDK version and environment
Extra info:
Quick fix
src/Util/InstallationUtil.php line 213 if (preg_match(self::REGEX_IP, $ip) === self::PREG_MATCH_SUCCESS || '*' === $ip)