freckle/yesod-auth-oauth2

select 'primary' email on github email list

Closed this issue · 0 comments

silky commented

currently the code takes the first email in the list; but it should take the one with primary: true.

see - https://developer.github.com/v3/users/emails/