mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-07 20:03:33 -05:00
Cookies using the hostname as a domain will be set with a prefix of `.` by browsers, it seems to ensure all subdomains are included in the scope. When deleting the `seen_cookie_message` cookie we want to set its domain without a `.` prefix, to match the domain set by the original code. Leaving the `domain` attribute out from the cookie string will ensure the `.` prefix is not set.