We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e329ae commit 4cf678fCopy full SHA for 4cf678f
rest/models/User.php
@@ -64,7 +64,7 @@ public function attributeLabels()
64
/**
65
* @inheritdoc
66
*/
67
- public static function findIdentityByAccessToken($token)
+ public static function findIdentityByAccessToken($token, $type = null)
68
{
69
$user = self::find()->where(['authKey' => $token])->one();
70
if ($user) {
@@ -160,6 +160,6 @@ public function validateAuthKey($authKey)
160
161
public function validatePassword($password)
162
163
- return password_verify($password,$this->password);
+ return password_verify($password, $this->password);
164
}
165
0 commit comments