michnhokn / kirby-cookie-banner

A Cookie Consent Modal for Kirby
MIT License
67 stars 9 forks source link

headaches in local testing #8

Open squareclouds opened 3 years ago

squareclouds commented 3 years ago

hi all,

i am developing on a local machine and the plugin just creates and endless loop of struggle. when i try to login the error of invalid CSFR token keeps showing, then i delete the cookies, but then of course the frontend asks for the cookies again. everytime the plugin sets a cookie, i get kicked out of the panel, and then we i try to login, it doesnt work of course, because the cookie is again present and the CSFR appears again.

is there a way to deactivate the plugin without having to remove code? would be helpful to have a variable in the config to bypass the plugin and switch back on when needed. otherwise right now i have to comment out or delete code in my php, javascript, etc