mirror of
https://github.com/elyby/accounts.git
synced 2024-11-10 07:22:00 +05:30
Рендеринг списка скоупов на oauth/permissions
This commit is contained in:
parent
298f57841f
commit
0e9be3dfb8
@ -126,7 +126,6 @@ class OauthController extends Controller {
|
||||
|
||||
if (!$account->canAutoApprove($clientModel, $authParams['scopes'])) {
|
||||
$isAccept = Yii::$app->request->post('accept');
|
||||
$isAccept = null;
|
||||
if ($isAccept === null) {
|
||||
throw new AcceptRequiredException();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user