Correccion para obtener user_uid
This commit is contained in:
@@ -199,7 +199,7 @@ class Server implements iAuthenticate
|
|||||||
$request = \OAuth2\Request::createFromGlobals();
|
$request = \OAuth2\Request::createFromGlobals();
|
||||||
$allowed = $this->server->verifyResourceRequest($request);
|
$allowed = $this->server->verifyResourceRequest($request);
|
||||||
$token = $this->server->getAccessTokenData($request);
|
$token = $this->server->getAccessTokenData($request);
|
||||||
|
self::$userId = $token['user_id'];
|
||||||
// Session handling to prevent session lose in other places like, home, admin, etc
|
// Session handling to prevent session lose in other places like, home, admin, etc
|
||||||
// when user is using the new designer that have not session because it is using only the API
|
// when user is using the new designer that have not session because it is using only the API
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user