Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Use primary email for the email field
The email provided by the user info in the response from /user is the publicly visible email, which a user can choose to not set. GitHub accounts always have a primary email, so let’s use that one instead.
- Loading branch information