magento2-developer-quickdevbar icon indicating copy to clipboard operation
magento2-developer-quickdevbar copied to clipboard

Ip restriction doesn't work

Open sebashottesimplyphp opened this issue 6 years ago • 1 comments

Hi, this is a small issue with your extension that make it impossible to use it on a production server.

How to reproduce: 1- Add your IP to the restriction 2- Flush cache 3- open site on good IP 4- open site on wrong IP Result: The bar will still show for both, good and wrong IP.

1- Add your IP to the restriction 2- Flush cache 3- open site on wrong IP 4- open site on good IP Result: The bar will not show for both, good and wrong IP.

I am assuming this is because you cache the result for IP check, so when you refresh the page it's not going to redo the if statement where it looks for the IP.

Thank you

sebashottesimplyphp avatar Jan 14 '20 19:01 sebashottesimplyphp

Hi,

I'm currently working on this new feature

See comment on https://github.com/vpietri/magento2-developer-quickdevbar/issues/51

vpietri avatar Apr 27 '21 20:04 vpietri