mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-10-29 18:02:29 +00:00
Refactoring namespace for OpenWifi.
This commit is contained in:
@@ -29,7 +29,7 @@ namespace OpenWifi {
|
||||
std::cout << "Line: " << __LINE__ << std::endl;
|
||||
SecurityObjects::UserInfoAndPolicy SecObj;
|
||||
std::cout << "Line: " << i.first << std::endl;
|
||||
if (AuthService()->IsValidToken(i.first, SecObj.webtoken, SecObj.userinfo)) {
|
||||
if (AuthService()->IsValidToken(i.second, SecObj.webtoken, SecObj.userinfo)) {
|
||||
Poco::JSON::Object Obj;
|
||||
SecObj.to_json(Obj);
|
||||
ReturnObject(Request, Obj, Response);
|
||||
|
||||
Reference in New Issue
Block a user