socialite

This commit is contained in:
2021-02-12 19:04:21 +09:00
parent 9c9f6c61fe
commit 23b3858a89

View File

@@ -83,8 +83,12 @@ class LoginController extends Controller
$extraScopes = EsiScope::where([ $extraScopes = EsiScope::where([
'character_id' => auth()->user()->getId(), 'character_id' => auth()->user()->getId(),
])->get(['scope']); ])->get(['scope']);
dd($extraScopes);
array_push($scopes, $extraScopes); foreach($extraScopes as $extra) {
array_push($scopes, $extra->scope);
}
//array_push($scopes, $extraScopes);
} }
//Place the scopes in the session to verify later after the redirect //Place the scopes in the session to verify later after the redirect