Skip to content

Commit

Permalink
wifi: stop leaking sensitive data
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani authored and patrickelectric committed Sep 26, 2024
1 parent a38c653 commit 11e2dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/services/wifi/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ async def saved() -> Any:
@app.post("/connect", summary="Connect to wifi network.")
@version(1, 0)
async def connect(credentials: WifiCredentials, hidden: bool = False) -> Any:
logger.info(f"Trying to connect to '{credentials.ssid}' with password '{credentials.password}'.")
logger.info(f"Trying to connect to '{credentials.ssid}'.")

network_id: Optional[int] = None
is_new_network = False
Expand Down

0 comments on commit 11e2dfc

Please sign in to comment.