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

How to disable switch if cookie required? #102

Open comerc opened 4 months ago

comerc commented 4 months ago
Screen Shot 2024-02-23 at 14 30 46
tobias-kuendig commented 4 months ago

The switch is already disabled if the cookie group is required: https://github.com/OFFLINE-GmbH/oc-gdpr-plugin/blob/df81e423ca8b9fca03ad2fd899950370a4823bf8/components/cookiemanager/toggle.htm#L7

It must be always check in this case, otherwise it would not be activated.