From c964a753d8aee813d617ec06f1990dd55e20cfd3 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Tue, 6 May 2014 18:45:18 -0400 Subject: [PATCH] Fixes #3383: Added `$type` parameter to `IdentityInterface::findIdentityByAccessToken()` --- models/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/User.php b/models/User.php index 5de7e20..cbfb9fe 100644 --- a/models/User.php +++ b/models/User.php @@ -38,7 +38,7 @@ class User extends \yii\base\Object implements \yii\web\IdentityInterface /** * @inheritdoc */ - public static function findIdentityByAccessToken($token) + public static function findIdentityByAccessToken($token, $type = null) { foreach (self::$users as $user) { if ($user['accessToken'] === $token) {