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

set httponly on my twsproxyauth cookie, perhaps this will let safari pass it along

parent f9491549
3 merge requests!77Revert "disable agressive kill and restart",!35Dev,!13Dev
Pipeline #7611 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) response.set_cookie('twsproxyauth', authtok, httponly=True)
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