From 5c4501efbc5c8d8f4c801ce02f0a0be6583ec909 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Sun, 26 Nov 2023 21:45:16 +0000 Subject: [PATCH] remove mqtt password from config api (#8757) --- frigate/http.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frigate/http.py b/frigate/http.py index f3238f192..498f0d380 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -1154,6 +1154,9 @@ def end_event(event_id): def config(): config = current_app.frigate_config.dict() + # remove the mqtt password + config["mqtt"].pop("password", None) + for camera_name, camera in current_app.frigate_config.cameras.items(): camera_dict = config["cameras"][camera_name]