From 3258ab38a406903f2146c13fd148b74beb995b3b Mon Sep 17 00:00:00 2001
From: Chris Hines <chris.hines@monash.edu>
Date: Thu, 15 Aug 2019 16:02:17 +0800
Subject: [PATCH] relax the twsproxyauth cookie as well

---
 TES/tes/apiendpoints.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/TES/tes/apiendpoints.py b/TES/tes/apiendpoints.py
index 0a7c379..8df948f 100644
--- a/TES/tes/apiendpoints.py
+++ b/TES/tes/apiendpoints.py
@@ -475,7 +475,7 @@ class CreateTunnel(Resource):
                    localbind=localbind, authtok=authtok)
         response = make_response("")
         response.mime_type = 'application/json'
-        response.set_cookie('twsproxyauth', authtok,httponly=True,samesite='Strict',secure=True)
+        response.set_cookie('twsproxyauth', authtok)
         logger.debug('JobConnect.connect: connecting via redirect with cookie authtok set to  {}'.format(authtok))
         return response
 
-- 
GitLab