Loading cli/authcli.cpp +3 −0 Changes for cli/authcli.cpp: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -69,6 +69,9 @@ void remclient(int argc,char **argv){ cmdc.registerCmd("clientid",'i',true,nullptr,"Clientid"); cmdc.registerCmd("username",'u',true,nullptr,"Username"); cmdc.registerCmd("password",'p',true,nullptr,"Password for User"); cmdc.parseCmd(argc,argv); if(!cmdc.checkRequired()){ Loading client/client.cpp +1 −1 Changes for client/client.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -487,7 +487,7 @@ void authdb::client::Client::remConnection(const uuid& clientid){ json_object_object_add(obj,"usersession", json_object_new_string(_Con.getSessionID().c_str())); json_object_object_add(obj,"remconnection", addclt); json_object_object_add(addclt,"clientname",json_object_new_string(clientid.c_str())); json_object_object_add(addclt,"clientid",json_object_new_string(clientid.c_str())); json_object_array_add(cmd,obj); json_object_object_add(jresponse,"commands",cmd); Loading Loading
cli/authcli.cpp +3 −0 Changes for cli/authcli.cpp: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -69,6 +69,9 @@ void remclient(int argc,char **argv){ cmdc.registerCmd("clientid",'i',true,nullptr,"Clientid"); cmdc.registerCmd("username",'u',true,nullptr,"Username"); cmdc.registerCmd("password",'p',true,nullptr,"Password for User"); cmdc.parseCmd(argc,argv); if(!cmdc.checkRequired()){ Loading
client/client.cpp +1 −1 Changes for client/client.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -487,7 +487,7 @@ void authdb::client::Client::remConnection(const uuid& clientid){ json_object_object_add(obj,"usersession", json_object_new_string(_Con.getSessionID().c_str())); json_object_object_add(obj,"remconnection", addclt); json_object_object_add(addclt,"clientname",json_object_new_string(clientid.c_str())); json_object_object_add(addclt,"clientid",json_object_new_string(clientid.c_str())); json_object_array_add(cmd,obj); json_object_object_add(jresponse,"commands",cmd); Loading