Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yggdrasil-api #165

Open
graytoowolf opened this issue Oct 21, 2022 · 0 comments
Open

yggdrasil-api #165

graytoowolf opened this issue Oct 21, 2022 · 0 comments

Comments

@graytoowolf
Copy link

\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字段。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant