Fix for subscriber authentication tokens.

This commit is contained in:
stephb9959
2021-12-13 13:43:45 -08:00
parent ef1f7098a6
commit 4a11602fb9
2 changed files with 4 additions and 0 deletions

View File

@@ -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)) {