mirror of
https://github.com/elyby/accounts.git
synced 2024-12-28 08:00:25 +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'])) {
|
if (!$account->canAutoApprove($clientModel, $authParams['scopes'])) {
|
||||||
$isAccept = Yii::$app->request->post('accept');
|
$isAccept = Yii::$app->request->post('accept');
|
||||||
$isAccept = null;
|
|
||||||
if ($isAccept === null) {
|
if ($isAccept === null) {
|
||||||
throw new AcceptRequiredException();
|
throw new AcceptRequiredException();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user