PMCORE-3405

This commit is contained in:
root
2021-10-07 16:10:28 -04:00
parent 9122c83d56
commit aa4c64569c
2 changed files with 3 additions and 2 deletions

View File

@@ -432,7 +432,7 @@ class Server implements iAuthenticate
$tokenData = $server->getAccessTokenData($request);
// Set the User Uid
self::$userId = $tokenData['user_id'];
self::$userId = isset($tokenData['user_id']) ? $tokenData['user_id'] : null;
}
return self::$userId;
}