mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-03 04:07:45 +00:00
Fix for subscriber authentication tokens.
This commit is contained in:
@@ -682,6 +682,7 @@ _OWDEBUG_
|
||||
if(RevocationDate!=0)
|
||||
return false;
|
||||
_OWDEBUG_
|
||||
std::cout << "UInfo:" << UInfo.userinfo.Id << std::endl;
|
||||
Expired = (UInfo.webtoken.created_ + UInfo.webtoken.expires_in_) < std::time(nullptr);
|
||||
_OWDEBUG_
|
||||
if(StorageService()->GetSubUserById(UInfo.userinfo.Id,UInfo.userinfo)) {
|
||||
|
||||
Reference in New Issue
Block a user