Bug fix for Google Provider (#1607)

* bug fix for Google provider
This commit is contained in:
David Bomba 2017-08-08 20:36:28 +10:00 committed by GitHub
parent f8f0a23a10
commit 4bccf5f307

View File

@ -17,7 +17,6 @@ class Google implements ProviderInterface
public function harvestSubField($payload) public function harvestSubField($payload)
{ {
$data = $payload->getAttributes(); return $payload['sub']; // user ID
return $data['payload']['sub']; // user ID
} }
} }