From e144b4e246816a246ca805b041edeea42fe8ab89 Mon Sep 17 00:00:00 2001 From: Avital Oliver Date: Wed, 17 Apr 2013 19:15:11 -0700 Subject: [PATCH] With autopublish, publish others' google user ids --- packages/accounts-google/google_server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/accounts-google/google_server.js b/packages/accounts-google/google_server.js index a80511eeae..59ab7cbc3d 100644 --- a/packages/accounts-google/google_server.js +++ b/packages/accounts-google/google_server.js @@ -1,6 +1,7 @@ // with autopublish on: publish all fields to the logged in user; -// only the user's public picture to others +// only the user's google id and public picture to others Accounts._autopublishFields.loggedInUser.push('services.google'); +Accounts._autopublishFields.allUsers.push('services.google.id'); Accounts._autopublishFields.allUsers.push('services.google.picture'); Accounts.oauth.registerService('google', 2, function(query) {