Skip to content

Cookie only set when another cookie has required value #20

@kklecho

Description

@kklecho

Rationale: With the cookie law, the cookie should not be set by default but only after the user agrees cookies.

Suggested solution:

  1. Add option called cookies_accepted_cookie_name # what is the cookie name that stores user consent or denial
  2. Add option called cookies_accepted_cookie_value # what value the cookie has to hold for the mobile detect to be allowed to set it's own cookies
  3. Change code logic to only set / check the device view cookie when cookie configured in 1. has the value configured in 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions