Loading src/admin.cpp +0 −1 Changes for src/admin.cpp: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -2464,7 +2464,6 @@ namespace authdb { } void SettingsController(libhttppp::HttpRequest *curreq, const int tid, ULONG_PTR args){ std::lock_guard<std::mutex> lock(AuthSessionLock); libhttppp::HttpCookie cookie; const SessionData *sdat=nullptr; Loading src/api.cpp +0 −8 Changes for src/api.cpp: 0 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -48,7 +48,6 @@ namespace authdb { public: void checkGPO(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd) throw(AuthBackendError("Invalid Api Commands")); Loading @@ -75,7 +74,6 @@ namespace authdb { } const SessionData *checkUser(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading @@ -94,7 +92,6 @@ namespace authdb { } const ClientConnections *checkConnection(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading @@ -121,7 +118,6 @@ namespace authdb { const SessionData *userLogin(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthClientLock); std::lock_guard<std::mutex> lock2(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -197,7 +193,6 @@ namespace authdb { const ClientConnections *ClientLogin(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthClientLock); std::lock_guard<std::mutex> lock2(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -331,7 +326,6 @@ namespace authdb { } void SessionInfo(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -359,7 +353,6 @@ namespace authdb { } void remSession(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -387,7 +380,6 @@ namespace authdb { void changeUserPw(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthClientLock); std::lock_guard<std::mutex> lock2(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading src/authdb.h +0 −1 Changes for src/authdb.h: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -47,7 +47,6 @@ namespace authdb { extern class Client AuthClient; extern std::mutex AuthClientLock; extern class Session AuthSession; extern std::mutex AuthSessionLock; struct AuthHeader{ int start = 0xFE; Loading Loading
src/admin.cpp +0 −1 Changes for src/admin.cpp: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -2464,7 +2464,6 @@ namespace authdb { } void SettingsController(libhttppp::HttpRequest *curreq, const int tid, ULONG_PTR args){ std::lock_guard<std::mutex> lock(AuthSessionLock); libhttppp::HttpCookie cookie; const SessionData *sdat=nullptr; Loading
src/api.cpp +0 −8 Changes for src/api.cpp: 0 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -48,7 +48,6 @@ namespace authdb { public: void checkGPO(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd) throw(AuthBackendError("Invalid Api Commands")); Loading @@ -75,7 +74,6 @@ namespace authdb { } const SessionData *checkUser(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading @@ -94,7 +92,6 @@ namespace authdb { } const ClientConnections *checkConnection(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading @@ -121,7 +118,6 @@ namespace authdb { const SessionData *userLogin(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthClientLock); std::lock_guard<std::mutex> lock2(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -197,7 +193,6 @@ namespace authdb { const ClientConnections *ClientLogin(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthClientLock); std::lock_guard<std::mutex> lock2(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -331,7 +326,6 @@ namespace authdb { } void SessionInfo(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -359,7 +353,6 @@ namespace authdb { } void remSession(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading Loading @@ -387,7 +380,6 @@ namespace authdb { void changeUserPw(json_object *request,json_object *response){ std::lock_guard<std::mutex> lock(AuthClientLock); std::lock_guard<std::mutex> lock2(AuthSessionLock); json_object *cmd=json_object_object_get(request,"commands"); if(!cmd || json_object_get_type(cmd)!=json_type::json_type_array) Loading
src/authdb.h +0 −1 Changes for src/authdb.h: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -47,7 +47,6 @@ namespace authdb { extern class Client AuthClient; extern std::mutex AuthClientLock; extern class Session AuthSession; extern std::mutex AuthSessionLock; struct AuthHeader{ int start = 0xFE; Loading