The default is to use CWP_IP_BYPASS_BASICAUTH as a string value for CwpBasicAuthMiddleware's whitelisted IPs.
If you want to merge in an array of custom IPs as well, you cannot do this because the string splitting on commas only works if the input so setWhitelistedIps() is a string.
It should work on all string values in an array as well.
Workaround is to use PHP logic in app/_config.php to achieve the same result.
CWP 2.x
The default is to use CWP_IP_BYPASS_BASICAUTH as a string value for CwpBasicAuthMiddleware's whitelisted IPs.
If you want to merge in an array of custom IPs as well, you cannot do this because the string splitting on commas only works if the input so
setWhitelistedIps()
is a string.It should work on all string values in an array as well.
Workaround is to use PHP logic in app/_config.php to achieve the same result.
cc @MasseyIsaako