mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 03:53:13 +00:00
Add oauth2 adapter as a service
This commit is contained in:
@@ -80,9 +80,9 @@ class API_OAuth2_Adapter extends OAuth2
|
||||
* @param Application $app
|
||||
* @return API_OAuth2_Adapter
|
||||
*/
|
||||
public function __construct(Application $app)
|
||||
public function __construct(Application $app, array $conf = [])
|
||||
{
|
||||
parent::__construct();
|
||||
parent::__construct($conf);
|
||||
$this->app = $app;
|
||||
$this->params = [];
|
||||
}
|
||||
|
Reference in New Issue
Block a user