socialite

This commit is contained in:
2021-02-12 18:07:39 +09:00
parent 5de85508a3
commit 6e7ec0564f

View File

@@ -61,7 +61,8 @@ class EveOnlineOAuthProvider extends AbstractProvider {
//Get the character Id from the token returned
$characterId = strtr($user['sub'], ['CHARACTER:EVE:' => '']);
if($user['scp'] == null) {
if(isset($user['scp'])) {
//Return a user object with the mapped out variables below
return (new User)->setRaw($user)->map([
'id' => $characterId,