mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 06:21:15 +02:00
Secure controller to compute communication using HTTP basic authentication
This commit is contained in:
1 parent
55e50dae4b
commit
38388f7ae5
24 files changed
+483
-416
No files matched your search
@@ -97,8 +97,8 @@ class Controller:
|
||||
host=host,
|
||||
console_host=console_host,
|
||||
port=port,
|
||||
user=server_config.user,
|
||||
password=server_config.password,
|
||||
user=server_config.compute_username,
|
||||
password=server_config.compute_password,
|
||||
force=True,
|
||||
connect=True,
|
||||
ssl_context=self._ssl_context,
|
||||
@@ -154,8 +154,8 @@ class Controller:
|
||||
"""
|
||||
|
||||
if self._local_server:
|
||||
self._local_server.user = Config.instance().settings.Server.user
|
||||
self._local_server.password = Config.instance().settings.Server.password
|
||||
self._local_server.user = Config.instance().settings.Server.compute_username
|
||||
self._local_server.password = Config.instance().settings.Server.compute_password
|
||||
|
||||
async def stop(self):
|
||||
|
||||
|
||||
Reference in new issue
Block a user