Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulh committed Jun 9, 2024
1 parent 8583853 commit b996a5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bin/calaos_server/JsonApiHandlerWS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit b996a5c

Please sign in to comment.