Рендеринг списка скоупов на oauth/permissions

This commit is contained in:
SleepWalker 2016-02-29 20:16:33 +02:00
parent 298f57841f
commit 0e9be3dfb8

View File

@ -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();
} }