Merged in bugfix/PMCORE-3405 (pull request #8206)
PMCORE-3405 Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
6d69afc58d
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user