From a0514b4be5475d6613738438d45b9e63318cf6c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20=C3=85hall?= Date: Fri, 27 Feb 2026 11:38:42 +0100 Subject: [PATCH] Fixed updated device config on backend --- webserver.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webserver.go b/webserver.go index e2746d1..fb4aa2b 100644 --- a/webserver.go +++ b/webserver.go @@ -117,6 +117,9 @@ func actionDeviceUpdate(w http.ResponseWriter, r *http.Request) { // {{{ } device.Password = "" // don't leak unnecessarily + // Remove current connection to router + delete(devices, device.ID) + j, _ := json.Marshal(struct { OK bool Device Device