2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-03-27 21:41:49 +00:00

tidy default if cookie has expired

This commit is contained in:
2025-01-15 20:22:49 +00:00
parent 8db340fd62
commit 3df9b1a3d6

View File

@@ -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