diff --git a/src/auth/PhutilGoogleAuthAdapter.php b/src/auth/PhutilGoogleAuthAdapter.php index 338cdc0..448fc09 100644 --- a/src/auth/PhutilGoogleAuthAdapter.php +++ b/src/auth/PhutilGoogleAuthAdapter.php @@ -40,7 +40,8 @@ public function getAccountName() { } public function getAccountImageURI() { - return $this->getOAuthAccountData('picture'); + $image = $this->getOAuthAccountData('image', array()); + return idx($image, 'url'); } public function getAccountURI() {