Hi,In model/User.php can i comment this two functions ?
because in my User table I have only 3 columns id,username and password.
/**
* @inheritdoc
*/
public static function findIdentity($id)
{
// return isset(self::$users[$id]) ? new static(self::$users[$id]) : null;
}
/**
* @inheritdoc
*/
public static function findIdentityByAccessToken($token, $type = null)
{
/*foreach (self::$users as $user) {
if ($user['accessToken'] === $token) {
return new static($user);
}
}*/
// return null;
}