mirror of
https://github.com/elyby/accounts.git
synced 2026-10-20 12:48:07 +05:30
Рендеринг списка скоупов на oauth/permissions
This commit is contained in:
1 parent
298f57841f
commit
0e9be3dfb8
1 file changed
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user