summaryrefslogtreecommitdiffstats
path: root/core/utils.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-01-15 20:22:49 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2025-01-15 20:22:49 +0000
commit3df9b1a3d67e92c0ec47de5774baba14fe51da9c (patch)
tree8cf31c70751320cb1c215c357dc941e181e19307 /core/utils.py
parent8db340fd62a6f7a96e780c86d393cdcbad8008d7 (diff)
downloadtroggle-3df9b1a3d67e92c0ec47de5774baba14fe51da9c.tar.gz
troggle-3df9b1a3d67e92c0ec47de5774baba14fe51da9c.tar.bz2
troggle-3df9b1a3d67e92c0ec47de5774baba14fe51da9c.zip
tidy default if cookie has expired
Diffstat (limited to 'core/utils.py')
-rw-r--r--core/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/utils.py b/core/utils.py
index 69425ca..50330f1 100644
--- a/core/utils.py
+++ b/core/utils.py
@@ -205,7 +205,7 @@ def parse_aliases(aliasfile):
return aliases, report
def get_cookie(request):
- NO_COOKIE_DEFAULT = 'H&ouml;hlenforscher <hohlenforscher@stonebridge.expo>'
+ NO_COOKIE_DEFAULT = 'Unset Cookie <hohlenforscher@potatohut.expo>'
print(f"-- Getting cookie...")
editor_id = request.COOKIES.get('editor_id', NO_COOKIE_DEFAULT) # if no cookie, then default string
editor = git_string(editor_id) # belt and braces, should have been validity checked on saving already