Permalink
Browse files

only support twitter and facebook logins for now

  • Loading branch information...
1 parent 725a971 commit 5c0b302c92044d56ee4ccfa661ecbae73c51e2fa @visiblegovernment committed Jul 22, 2011
Showing with 6 additions and 7 deletions.
  1. +1 −2 mainapp/views/account.py
  2. +5 −5 settings.py
View
3 mainapp/views/account.py
@@ -31,8 +31,7 @@ def url(self):
SUPPORTED_SOCIAL_PROVIDERS = [
SocialProvider('Facebook'),
- SocialProvider('Twitter'),
- SocialProvider('Google') ]
+ SocialProvider('Twitter') ]
DEFAULT_REDIRECT = getattr(settings, 'SOCIAL_AUTH_LOGIN_REDIRECT_URL', '') or \
getattr(settings, 'LOGIN_REDIRECT_URL', '')
View
10 settings.py
@@ -107,11 +107,11 @@
AUTHENTICATION_BACKENDS = (
'social_auth.backends.twitter.TwitterBackend',
'social_auth.backends.facebook.FacebookBackend',
- 'social_auth.backends.google.GoogleOAuthBackend',
- 'social_auth.backends.google.GoogleOAuth2Backend',
- 'social_auth.backends.google.GoogleBackend',
- 'social_auth.backends.yahoo.YahooBackend',
- 'social_auth.backends.OpenIDBackend',
+# 'social_auth.backends.google.GoogleOAuthBackend',
+# 'social_auth.backends.google.GoogleOAuth2Backend',
+# 'social_auth.backends.google.GoogleBackend',
+# 'social_auth.backends.yahoo.YahooBackend',
+# 'social_auth.backends.OpenIDBackend',
'django.contrib.auth.backends.ModelBackend',
'mainapp.tests.testsocial_auth.dummy_socialauth.DummyBackend',
)

0 comments on commit 5c0b302

Please sign in to comment.