2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 13:03:46 +00:00

shared use machine short-cookie timeout implemented for wallets and logbook edits

This commit is contained in:
2025-06-25 23:33:05 +03:00
parent a7966e714d
commit c29548db01
2 changed files with 2 additions and 2 deletions

View File

@@ -978,6 +978,6 @@ def walletedit(request, path=None):
"freetextsize": str(max(60, len(str(freetext)))),
},
)
edit_response.set_cookie('editor_id', editor, max_age=get_cookie_max_age()) # cookie expires after get_cookie_max_age() seconds
edit_response.set_cookie('editor_id', editor, max_age=get_cookie_max_age(request)) # cookie expires after get_cookie_max_age(request) seconds
return edit_response