Skip to content

Commit

Permalink
Trying to get new users work with github
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Greenfeld committed Apr 7, 2015
1 parent f01d30a commit 5a192c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion profiles/views.py
Expand Up @@ -7,6 +7,8 @@

from braces.views import LoginRequiredMixin

from django.contrib.auth.signals import user_logged_in

# from social_auth.signals import pre_update
# from social_auth.backends.contrib.github import GithubBackend

Expand Down Expand Up @@ -56,5 +58,5 @@ def github_user_update(sender, user, response, details, **kwargs):
profile_instance.save()
return True

# pre_update.connect(github_user_update, sender=GithubBackend)
user_logged_in.connect(github_user_update)

0 comments on commit 5a192c2

Please sign in to comment.