From b996a5cda485acb97c48a77b43681d435d3cc714 Mon Sep 17 00:00:00 2001 From: Raoul Hecky Date: Sun, 9 Jun 2024 20:12:00 +0000 Subject: [PATCH] Fix --- src/bin/calaos_server/JsonApiHandlerWS.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/calaos_server/JsonApiHandlerWS.cpp b/src/bin/calaos_server/JsonApiHandlerWS.cpp index 1f8fc27b..3453aa2c 100644 --- a/src/bin/calaos_server/JsonApiHandlerWS.cpp +++ b/src/bin/calaos_server/JsonApiHandlerWS.cpp @@ -478,7 +478,8 @@ void JsonApiHandlerWS::processSettings(const Params &jsonReq, const string &clie if (ok) loggedin = false; //user must login again with new password - Json ret = {{ "success", ok?"true":"false" }}; + Json ret = {{ "action", "change_cred" }, + { "success", ok?"true":"false" }}; sendJson("settings", ret, client_id); } }