mirror of
https://github.com/elyby/accounts.git
synced 2024-11-30 10:42:16 +05:30
Исправлен namespace для исключений
This commit is contained in:
parent
20286f1744
commit
f5981f1cd1
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace api\components\OAuth2\Exceptions;
|
namespace api\components\OAuth2\Exception;
|
||||||
|
|
||||||
use League\OAuth2\Server\Exception\OAuthException;
|
use League\OAuth2\Server\Exception\OAuthException;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace api\components\OAuth2\Exceptions;
|
namespace api\components\OAuth2\Exception;
|
||||||
|
|
||||||
class AccessDeniedException extends \League\OAuth2\Server\Exception\AccessDeniedException {
|
class AccessDeniedException extends \League\OAuth2\Server\Exception\AccessDeniedException {
|
||||||
|
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
namespace api\controllers;
|
namespace api\controllers;
|
||||||
|
|
||||||
use api\filters\ActiveUserRule;
|
use api\filters\ActiveUserRule;
|
||||||
use api\components\OAuth2\Exceptions\AcceptRequiredException;
|
use api\components\OAuth2\Exception\AcceptRequiredException;
|
||||||
use api\components\OAuth2\Exceptions\AccessDeniedException;
|
use api\components\OAuth2\Exception\AccessDeniedException;
|
||||||
use common\models\Account;
|
use common\models\Account;
|
||||||
use common\models\OauthClient;
|
use common\models\OauthClient;
|
||||||
use common\models\OauthScope;
|
use common\models\OauthScope;
|
||||||
|
Loading…
Reference in New Issue
Block a user