summaryrefslogtreecommitdiffstats
path: root/core/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/utils.py')
-rw-r--r--core/utils.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/utils.py b/core/utils.py
index 116e517..3dd1089 100644
--- a/core/utils.py
+++ b/core/utils.py
@@ -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