diff --git a/django/contrib/messages/storage/cookie.py b/django/contrib/messages/storage/cookie.py
index 2cc6fa6..45a20d0 100644
a
|
b
|
class CookieStorage(BaseStorage):
|
75 | 75 | response.set_cookie(self.cookie_name, encoded_data, |
76 | 76 | domain=settings.SESSION_COOKIE_DOMAIN) |
77 | 77 | else: |
78 | | response.delete_cookie(self.cookie_name) |
| 78 | response.delete_cookie(self.cookie_name, |
| 79 | domain=settings.SESSION_COOKIE_DOMAIN) |
79 | 80 | |
80 | 81 | def _store(self, messages, response, remove_oldest=True, *args, **kwargs): |
81 | 82 | """ |