From 04afe7dc4b0d9d3d83bb24761f089087d1a6ac58 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 19 Nov 2014 10:38:43 -0500 Subject: [PATCH] closes #2425 --- src/user.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/user.js b/src/user.js index 0a027410ad..9f3f81cd98 100644 --- a/src/user.js +++ b/src/user.js @@ -57,7 +57,9 @@ var async = require('async'), return 'user:' + uid; }); - addField('uid'); + if (fields.indexOf('uid') === -1) { + fields.push('uid'); + } if (fields.indexOf('picture') !== -1) { addField('email');