mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-03-27 23:31:48 +00:00
tidy default if cookie has expired
This commit is contained in:
@@ -205,7 +205,7 @@ def parse_aliases(aliasfile):
|
||||
return aliases, report
|
||||
|
||||
def get_cookie(request):
|
||||
NO_COOKIE_DEFAULT = 'Hö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
|
||||
|
||||
Reference in New Issue
Block a user