mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-04-23 03:07:44 +02:00
Rename creds key email -> public_email
Partial revert of 64b65ca where this was broken, causing a name
collision in the creds extra association list.
This commit is contained in:
parent
c514df2c39
commit
327a85fd95
@ -107,7 +107,7 @@ toCreds user userMails token = Creds
|
|||||||
, ("access_token", decodeUtf8 $ accessToken token)
|
, ("access_token", decodeUtf8 $ accessToken token)
|
||||||
]
|
]
|
||||||
++ maybeExtra "name" (githubUserName user)
|
++ maybeExtra "name" (githubUserName user)
|
||||||
++ maybeExtra "email" (githubUserPublicEmail user)
|
++ maybeExtra "public_email" (githubUserPublicEmail user)
|
||||||
++ maybeExtra "location" (githubUserLocation user)
|
++ maybeExtra "location" (githubUserLocation user)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user