From: revolunet Date: Mon, 22 Aug 2011 20:11:14 +0000 (+0200) Subject: fix typo first_name X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=12beabe76df34382c86ed6819001141a0c2e3149;p=django-social-auth.git fix typo first_name --- 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"""