Skip to content

Commit

Permalink
Remove hardcoded password
Browse files Browse the repository at this point in the history
  • Loading branch information
itstauq committed Jun 10, 2024
1 parent e125d7d commit f207f01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/syft/src/syft/service/enclave/enclave.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from ...client.client import SyftClient
from ...client.client import login
from ...client.client import login_as_guest
from ...node.node import get_default_root_password
from ...serde.serializable import serializable
from ...service.metadata.node_metadata import NodeMetadataJSON
from ...service.network.routes import NodeRouteType
Expand Down Expand Up @@ -73,7 +74,7 @@ def get_client(self, verify_key: str) -> SyftClient:
# accessing other member's data.
client = login(
email="[email protected]",
password="changethis",
password=get_default_root_password(),
url=self.route.host_or_ip,
port=self.route.port,
)
Expand Down

0 comments on commit f207f01

Please sign in to comment.