I've added in the ability to have an array of allowed IP addresses.
They can be configured using YML, I have added instructions into the README file.
There are a couple new functions, one gets the IP based on a few $_SERVER checks and then another that checks if the current IP is in the array off allowed IP's.
This has been a common requirement when using this module as sometimes being logged in as someone other than full admin was necessary for testing or deployment.
I've added in the ability to have an array of allowed IP addresses. They can be configured using YML, I have added instructions into the README file.
There are a couple new functions, one gets the IP based on a few $_SERVER checks and then another that checks if the current IP is in the array off allowed IP's.
This has been a common requirement when using this module as sometimes being logged in as someone other than full admin was necessary for testing or deployment.