ECOM-1178: Embargo rules for continent codes.
This commit fixes a bug that could occur when GeoIP returns a continent code ("EU" or "AN") instead of a country code. The previous implementation would block users in this case since the country code was not on the whitelist (consisting of all known country codes). The new implementation allows user access by default if we don't recognize the country code.
Showing
Please
register
or
sign in
to comment