Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

only support twitter and facebook logins for now

  • Loading branch information...
commit 5c0b302c92044d56ee4ccfa661ecbae73c51e2fa 1 parent 725a971
Jennifer Bell authored

Showing 2 changed files with 6 additions and 7 deletions. Show diff stats Hide diff stats

  1. +1 2  mainapp/views/account.py
  2. +5 5 settings.py
3  mainapp/views/account.py
@@ -31,8 +31,7 @@ def url(self):
31 31
32 32 SUPPORTED_SOCIAL_PROVIDERS = [
33 33 SocialProvider('Facebook'),
34   - SocialProvider('Twitter'),
35   - SocialProvider('Google') ]
  34 + SocialProvider('Twitter') ]
36 35
37 36 DEFAULT_REDIRECT = getattr(settings, 'SOCIAL_AUTH_LOGIN_REDIRECT_URL', '') or \
38 37 getattr(settings, 'LOGIN_REDIRECT_URL', '')
10 settings.py
@@ -107,11 +107,11 @@
107 107 AUTHENTICATION_BACKENDS = (
108 108 'social_auth.backends.twitter.TwitterBackend',
109 109 'social_auth.backends.facebook.FacebookBackend',
110   - 'social_auth.backends.google.GoogleOAuthBackend',
111   - 'social_auth.backends.google.GoogleOAuth2Backend',
112   - 'social_auth.backends.google.GoogleBackend',
113   - 'social_auth.backends.yahoo.YahooBackend',
114   - 'social_auth.backends.OpenIDBackend',
  110 +# 'social_auth.backends.google.GoogleOAuthBackend',
  111 +# 'social_auth.backends.google.GoogleOAuth2Backend',
  112 +# 'social_auth.backends.google.GoogleBackend',
  113 +# 'social_auth.backends.yahoo.YahooBackend',
  114 +# 'social_auth.backends.OpenIDBackend',
115 115 'django.contrib.auth.backends.ModelBackend',
116 116 'mainapp.tests.testsocial_auth.dummy_socialauth.DummyBackend',
117 117 )

0 comments on commit 5c0b302

Please sign in to comment.
Something went wrong with that request. Please try again.