- Issue created by @7r3y
- 🇺🇸United States mradcliffe USA
Thank you for creating the issue.
I think a fix to 🐛 Checkbox not displayed when session cookie expires and Agreement page is shown again Active would probably resolve this as well.
- 🇺🇸United States mradcliffe USA
I'm not able to reproduce this. The agreement cookie is set to expire in 10 years when frequency is -1. It is not possible to set a permanent expiration on that cookie by specification so I set it to 10 years.
I do notice that the patch that was contributed for this feature does not set the frequency correctly for other frequency values for anonymous users. I may split that into a different issue.
The Agreement module is configured with a Frequency setting of -1, meaning the agreement page should only be shown once to anonymous users. However, after accepting the agreement, the agreement_anon_default cookie is set with an expiration of ~1 year and 1 month instead of being permanent.