mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Fix OAuth2 code object
This commit is contained in:
@@ -66,7 +66,7 @@ class API_OAuth2_AuthCode
|
|||||||
public function get_account()
|
public function get_account()
|
||||||
{
|
{
|
||||||
if ( ! $this->account)
|
if ( ! $this->account)
|
||||||
$this->account = new API_OAuth2_Account($this->app['phraseanet.appbox'], $this->account_id);
|
$this->account = new API_OAuth2_Account($this->app, $this->account_id);
|
||||||
|
|
||||||
return $this->account;
|
return $this->account;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user