Skip to content

Commit

Permalink
Remove "emailAddress" field from Linkedin service (#49)
Browse files Browse the repository at this point in the history
This reverts commit ac0ee5f.
  • Loading branch information
Nodge committed Jan 3, 2016
1 parent ea07693 commit 2ff7afc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/LinkedinOAuth2Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected function fetchAttributes()
$this->attributes['id'] = $info['id'];
$this->attributes['name'] = $info['firstName'] . ' ' . $info['lastName'];
$this->attributes['url'] = $info['publicProfileUrl'];
$this->attributes['email'] = $info['emailAddress'];

return true;
}

Expand All @@ -71,4 +71,4 @@ public function getAuthorizationMethod()
{
return ServiceInterface::AUTHORIZATION_METHOD_QUERY_STRING_V2;
}
}
}

0 comments on commit 2ff7afc

Please sign in to comment.