mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-20 12:04:54 +00:00
First microservice checkin
This commit is contained in:
@@ -24,7 +24,7 @@ namespace uCentral {
|
||||
if (i.first == "token") {
|
||||
// can we find this token?
|
||||
SecurityObjects::UserInfoAndPolicy SecObj;
|
||||
if (AuthService()->IsValidToken(i.first, SecObj.WebToken, SecObj.UserInfo)) {
|
||||
if (AuthService()->IsValidToken(i.first, SecObj.webtoken, SecObj.userinfo)) {
|
||||
Poco::JSON::Object Obj;
|
||||
SecObj.to_json(Obj);
|
||||
ReturnObject(Request, Obj, Response);
|
||||
|
||||
Reference in New Issue
Block a user