OFFLINE-GmbH / oc-gdpr-plugin

October CMS plugin to make websites GDPR and ePrivacy compliant
https://octobercms.com/plugin/offline-gdpr
MIT License
36 stars 20 forks source link

Conflict with Vdlp.csrf plugin #86

Closed mkinternet closed 2 years ago

mkinternet commented 2 years ago

Cookie manager component doest't work when Vdlp.csrf plugin is instaled. Cookie settings are not saving.

Replace line https://github.com/OFFLINE-GmbH/oc-gdpr-plugin/blob/657ff7f5c5665193b87f8eaba0d68fe5ce88cc37/components/cookiemanager/default.htm#L1 with:

{{ form_open({'method':'post' }) }}

This will add nessesary token fields to the form https://octobercms.com/docs/services/html#form-tokens

tobias-kuendig commented 2 years ago

Very good suggestion, thank you! Added in release v2.2.14