Removed extra spaces and lines

pull/8968/head
wesnspace 9 years ago
parent 5898ff10ba
commit e48b3801bb
  1. 4
      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

Loading…
Cancel
Save