Correccion para obtener user_uid

This commit is contained in:
Brayan Osmar Pereyra Suxo
2014-06-23 10:23:12 -04:00
parent e213c6adfd
commit c31d2ee430

View File

@@ -199,7 +199,7 @@ class Server implements iAuthenticate
$request = \OAuth2\Request::createFromGlobals();
$allowed = $this->server->verifyResourceRequest($request);
$token = $this->server->getAccessTokenData($request);
self::$userId = $token['user_id'];
// 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