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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user