mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 13:18:15 +00:00
remaining shared-use machine cookie tyimeouts set
This commit is contained in:
@@ -80,7 +80,7 @@ except:
|
||||
# Opening of file for writing is going to fail currently, so decide it doesn't matter for now
|
||||
pass
|
||||
|
||||
def get_cookie_max_age(request=None):
|
||||
def get_cookie_max_age(request):
|
||||
"""This is where we detect whether the machine the user is using is a shared-use device or a personal device.
|
||||
If it is shared-use, then we set a much shorter cookie timout period.
|
||||
"""
|
||||
@@ -314,8 +314,7 @@ def get_git_string(user):
|
||||
def shared_use_machine(request):
|
||||
"""Looks for a cookie which only exists on shared use machines
|
||||
"""
|
||||
print(f" - shared use cookie check {request}")
|
||||
|
||||
|
||||
if not request: # temporary while rolling out implementation to all calling functions
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user