antonioribeiro / firewall

Firewall package for Laravel applications
BSD 3-Clause "New" or "Revised" License
1.39k stars 162 forks source link

Fix exception when trying to remove from database an ip inside a country #146

Closed yecine06 closed 4 years ago

yecine06 commented 5 years ago

I had an issue when i enlable blacklist whitelisted option.

My ip was inside a whitelisted country and thus the find in database wouldn't work.

Just add a condition to delete only if it finds it first .

antonioribeiro commented 4 years ago

Nice, thanks!