Updates on Oauth register method and New designer open action on process list

This commit is contained in:
Erik Amaru Ortiz
2013-11-06 10:10:36 -04:00
parent e42d3a6eb5
commit a8c9748aa3
12 changed files with 118 additions and 34 deletions

View File

@@ -18,8 +18,6 @@ switch ($_SERVER['REQUEST_METHOD']) {
\Api\OAuth2\Server::setPmClientId('x-pm-local-client');
$oauthServer = new \Api\OAuth2\Server();
$oauthServer->setConfig('enforce_state', false);
$userid = $_SESSION['USER_LOGGED'];
$authorize = isset($_POST['authorize']) ? (bool) $_POST['authorize'] : false;