The http server used in get-token.py shall listen on 127.0.0.1

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2022-12-03 12:41:35 +01:00
parent d9909fb155
commit 83172387a7

View File

@ -49,7 +49,7 @@ class Handler(http.server.BaseHTTPRequestHandler):
code = ''
server_address = ('', 8745)
server_address = ('127.0.0.1', 8745)
httpd = http.server.HTTPServer(server_address, Handler)
if not os.getenv('SSH_CONNECTION'):