mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
implements oauth2.0 v9.0 Resource Owner Basic Credentials
This commit is contained in:
@@ -15,14 +15,8 @@
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
require_once __DIR__ . "/../../../lib/bootstrap.php";
|
||||
|
||||
try
|
||||
{
|
||||
$app = require __DIR__ . '/../../../lib/Alchemy/Phrasea/Application/OAuth2.php';
|
||||
$app->run();
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
return new Response('Internal Server Error', 500);
|
||||
}
|
||||
$app = require __DIR__ . '/../../../lib/Alchemy/Phrasea/Application/OAuth2.php';
|
||||
|
||||
$app->run();
|
||||
|
Reference in New Issue
Block a user