Closed dvelopin closed 3 months ago
thanks! i did some code formatting but it's still pretty much your code. i love the fact that you used getenv
, i didn't know about it
There's a new way of doing this, the previous solution was removed, so updating to 4.1.0 will break your code. Use instead a callable
for the lock_to_ip
argument in the constructor. See the docs
This makes sense, I like the new granular control for a better handle on what is allowed/expected. Great job on this.
New getIPAddress() function to make getting end user IP address friendly with AWS Load Balancer, for example.