Skip to content

Commit

Permalink
Merge pull request #475 from garrypolley/master
Browse files Browse the repository at this point in the history
SocialAuthBackend only needs to authenticated
  • Loading branch information
omab committed Sep 27, 2012
2 parents 08ebd7b + 986c973 commit 4a722d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions social_auth/backends/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from oauth2 import Consumer as OAuthConsumer, Token, Request as OAuthRequest

from django.contrib.auth import authenticate
from django.contrib.auth.backends import ModelBackend
from django.utils import simplejson
from django.utils.importlib import import_module

Expand Down Expand Up @@ -78,7 +77,7 @@
))


class SocialAuthBackend(ModelBackend):
class SocialAuthBackend(object):
"""A django.contrib.auth backend that authenticates the user based on
a authentication provider response"""
name = '' # provider name, it's stored in database
Expand Down

0 comments on commit 4a722d7

Please sign in to comment.