Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
authenticate: remove extra UpdateUserInfo() call
The buildIdentityProfile() method is called only from Authenticate.getOAuthCallback(), which has previously called Authenticator.Authenticate(). It looks like all implementations of the Authenticator interface already call UpdateUserInfo(), so we shouldn't need to call UpdateUserInfo() a second time from buildIdentityProfile(). This should simplify the code a little and provide a slight performance improvement (by avoiding one network request).
- Loading branch information