From ee3dbb85ca91964473187ba5a507769f6e6cca25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Tue, 16 Apr 2024 18:09:31 +0200 Subject: [PATCH] doc: update cookie-related comment --- umap/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/models.py b/umap/models.py index 6e942fb0..c69b3f93 100644 --- a/umap/models.py +++ b/umap/models.py @@ -253,7 +253,7 @@ class Map(NamedModel): def is_anonymous_owner(self, request): if not request or self.owner: - # edit cookies are only valid while map hasn't owner + # edit cookies are only valid while the map doesn't have owner return False key, value = self.signed_cookie_elements try: