blessing-skin-plugins icon indicating copy to clipboard operation
blessing-skin-plugins copied to clipboard

yggdrasil-api

Open graytoowolf opened this issue 2 years ago • 0 comments

\yggdrasil-api\src\Controllers\SessionController.php

protected function mojangVerified($player)
{
    if (!Schema::hasTable('mojang_verifications')) {
        return false;
    }

    return DB::table('mojang_verifications')->where('email', $player->uid)->exists();
}

这里查询的数据库字段错误。mojang_verifications表没有email字段。

graytoowolf avatar Oct 21 '22 11:10 graytoowolf