From 0e9be3dfb8fff84b1aeb2a385a8c4a22ce90d74d Mon Sep 17 00:00:00 2001 From: SleepWalker Date: Mon, 29 Feb 2016 20:16:33 +0200 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D0=BD=D0=B4=D0=B5=D1=80=D0=B8?= =?UTF-8?q?=D0=BD=D0=B3=20=D1=81=D0=BF=D0=B8=D1=81=D0=BA=D0=B0=20=D1=81?= =?UTF-8?q?=D0=BA=D0=BE=D1=83=D0=BF=D0=BE=D0=B2=20=D0=BD=D0=B0=20oauth/per?= =?UTF-8?q?missions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/controllers/OauthController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/api/controllers/OauthController.php b/api/controllers/OauthController.php index a815116..a74d33e 100644 --- a/api/controllers/OauthController.php +++ b/api/controllers/OauthController.php @@ -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(); }