Skip to content
Snippets Groups Projects
Commit 3258ab38 authored by Chris Hines's avatar Chris Hines
Browse files

relax the twsproxyauth cookie as well

parent 83025d90
No related branches found
No related tags found
3 merge requests!77Revert "disable agressive kill and restart",!35Dev,!14Dev
Pipeline #7697 passed
...@@ -475,7 +475,7 @@ class CreateTunnel(Resource): ...@@ -475,7 +475,7 @@ class CreateTunnel(Resource):
localbind=localbind, authtok=authtok) localbind=localbind, authtok=authtok)
response = make_response("") response = make_response("")
response.mime_type = 'application/json' 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)) logger.debug('JobConnect.connect: connecting via redirect with cookie authtok set to {}'.format(authtok))
return response return response
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment