From e48b3801bbb8f9d8e5c390accc92b34eaf9fbdca Mon Sep 17 00:00:00 2001 From: wesnspace <34081513+wesnspace@users.noreply.github.com> Date: Wed, 29 Nov 2017 00:15:49 -0600 Subject: [PATCH] Removed extra spaces and lines --- .../rocketchat-custom-oauth/server/custom_oauth_server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/rocketchat-custom-oauth/server/custom_oauth_server.js b/packages/rocketchat-custom-oauth/server/custom_oauth_server.js index 9dc718437ea..cfb0a74a8ff 100644 --- a/packages/rocketchat-custom-oauth/server/custom_oauth_server.js +++ b/packages/rocketchat-custom-oauth/server/custom_oauth_server.js @@ -194,11 +194,11 @@ export class CustomOAuth { identity.id = identity.user.userid; identity.email = identity.user.email; } - + // Fix for Xenforo [BD]API plugin for 'user.user_id; instead of 'id' if (identity.user && identity.user.user_id && !identity.id) { identity.id = identity.user.user_id; - identity.email = identity.user.user_email; + identity.email = identity.user.user_email; } // Fix general 'phid' instead of 'id' from phabricator