From 12beabe76df34382c86ed6819001141a0c2e3149 Mon Sep 17 00:00:00 2001 From: revolunet Date: Mon, 22 Aug 2011 22:11:14 +0200 Subject: [PATCH] fix typo first_name --- social_auth/backends/contrib/github.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/social_auth/backends/contrib/github.py b/social_auth/backends/contrib/github.py index 7c2e8b8..82bef4b 100644 --- a/social_auth/backends/contrib/github.py +++ b/social_auth/backends/contrib/github.py @@ -37,9 +37,10 @@ class GithubBackend(OAuthBackend): def get_user_details(self, response): """Return user details from Github account""" + print response return {USERNAME: response.get('login'), 'email': response.get('email'), - 'firstname': response.get('name')} + 'first_name': response.get('name')} class GithubAuth(BaseOAuth): """Github OAuth mechanism""" -- 2.39.5