add picture on github signin/up

This commit is contained in:
Berkeley Martinez
2015-08-07 18:10:32 -07:00
parent 66815f0762
commit 83397b7e1b
2 changed files with 8 additions and 4 deletions

View File

@ -19,11 +19,12 @@ function setProfileFromGithub(
username username
}, },
{ {
location,
email: githubEmail,
id: githubId, id: githubId,
'avatar_url': picture,
email: githubEmail,
'created_at': joinedGithubOn, 'created_at': joinedGithubOn,
blog: website, blog: website,
location,
name name
} }
) { ) {
@ -36,6 +37,7 @@ function setProfileFromGithub(
location, location,
joinedGithubOn, joinedGithubOn,
website, website,
picture,
githubId, githubId,
githubURL, githubURL,
githubEmail, githubEmail,

View File

@ -52,11 +52,12 @@ function setProfileFromGithub(
username username
}, },
{ {
location,
email: githubEmail,
id: githubId, id: githubId,
'avatar_url': picture,
email: githubEmail,
'created_at': joinedGithubOn, 'created_at': joinedGithubOn,
blog: website, blog: website,
location,
name name
} }
) { ) {
@ -69,6 +70,7 @@ function setProfileFromGithub(
location, location,
joinedGithubOn, joinedGithubOn,
website, website,
picture,
githubId, githubId,
githubURL, githubURL,
githubEmail, githubEmail,