From 36e2e0df6cc3e52fe9df0f2af8500b038481973b Mon Sep 17 00:00:00 2001 From: wesnspace <34081513+wesnspace@users.noreply.github.com> Date: Wed, 29 Nov 2017 00:20:14 -0600 Subject: [PATCH] Removed trailing spaces --- packages/rocketchat-custom-oauth/server/custom_oauth_server.js | 2 -- 1 file changed, 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 cfb0a74a8fff..b8983bf8a4d3 100644 --- a/packages/rocketchat-custom-oauth/server/custom_oauth_server.js +++ b/packages/rocketchat-custom-oauth/server/custom_oauth_server.js @@ -194,13 +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; } - // Fix general 'phid' instead of 'id' from phabricator if (identity.phid && !identity.id) { identity.id = identity.phid;