Skip to content

Commit

Permalink
Removed trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
wesnspace committed Nov 29, 2017
1 parent e48b380 commit 36e2e0d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 36e2e0d

Please sign in to comment.